Investigate using postgresql ArrayField rather than JSONField for simple, one-dimensional lists of strings
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 49
- フォーク
- 88
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 31
説明
We've got a ton of these: https://github.com/pulp/pulp_python/blob/master/pulp_python/app/models.py#L113-L117
It would be interesting whether ArrayField is more efficient or convenient for this use case. https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/fields/#arrayfield
We should do some research to see if it's a good idea - other plugins may want to adopt it also.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start with pulp_python/app/models.py lines 113-117 and the Django ArrayField documentation. Compare ArrayField with JSONField for the simple one-dimensional string lists described there, including efficiency and convenience. Done means producing a clear recommendation about whether this approach is suitable for adoption by other plugins.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- django, postgresql, python
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100