adapter: read a flat dotted column instead of stopping the job pass

オープン 初心者向け
#2,601 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
79/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
backend, data

調査の方向性

projection のコードは crates/registry-adapter-engine にあります。まず projection の走査処理と、#2552 の後に導入された拒否コードをたどってください。ネストされた値が見つからない場合はドットを含むフラットなキーを読み取り、両方が存在する場合はネストされたパスを優先するように動作を更新してください。issue に記載された3つのケースが網羅されれば完了です。

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

説明

enhancement

Since #2552, a source row with a flat column whose name contains a dot (for example group.field as one key) stops the job pass with a refusal, where it used to project null silently.

Stopping is better than a silent null, but we can simply read the value: in the projection walk, fall back to a direct key lookup when the nested walk finds nothing (walk(..).or_else(|| value.get(path)) in crates/registry-adapter-engine projection). That removes a refusal an operator can do nothing useful about.

Done when: a flat dotted column projects its value, a nested path still wins when both exist, and the refusal code is retired or kept only for a genuinely ambiguous case.

主要言語
Rust
スター
2
フォーク
0
平均マージ
7時間 43分
マージ済み PR(30日)
201

環境構築

はじめの一歩

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

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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