graphprotocol / graphprotocol/graph-node

[Bug] Child sorting doesn't take immutable entities into account

オープン
#5,100 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug Stale
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

説明

Bug report

When sorting by a child field, this line needs to take into account whether the child table is mutable or immutable.

Some information to help us out
  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

store/postgres/src/relational_queries.rs の 3702 行目付近から始め、子フィールドのソートクエリと、可変テーブルと不変テーブルの扱いを追跡してください。不変の子エンティティに対する動作を確認し、既存のテスト領域が見つかった場合は、関連するカバレッジを追加または更新してください。ソートが子テーブルの可変性を考慮すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
postgresql, rust
領域
databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。