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

未关闭 适合新手
#2,601 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
79/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
backend, data

调研方向

投影代码位于 crates/registry-adapter-engine;首先跟踪它的投影遍历过程,以及 #2552 之后引入的拒绝代码。更新行为:找不到嵌套值时读取带点号的扁平键;两者都存在时优先使用嵌套路径。issue 中列出的三个情况都得到覆盖后即为完成。

由索引模型根据 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 分钟
30 天内合并 PR
201

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。