Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

UpdateTable accepts a redefined table key type and a duplicated AttributeDefinitions entry

未关闭
#555 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@LeeroyHannigan 已经在做这个了。

开始于 2026年10月26日。

  • #595 来自 @LeeroyHannigan —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

Summary

Two AttributeDefinitions shapes on UpdateTable with a GSI Create answer differently from the service (measured 2026-10-25).

AttributeDefinitions beside a valid Create Service ExtendDB main 744ea291
the table's own hash key pk redefined as N (table has pk: S) plus the index key 200; the table keeps pk: S and gains the index key's definition only 200; what the catalog stores for pk afterwards is unmeasured
the index key defined twice (h, h) 400 ValidationException Attribute Name is duplicated: h 200

Fix shape

Refuse a duplicated name with the measured sentence (check whether CreateTable has the same rule on the service; it was not measured here). For the redefinition, measure what ExtendDB stores on each backend; if the stored type changes, keep the table's existing definition as the service does. One wire row per shape, dual-target.

Found while reviewing #520.

主要语言
Rust
星标
517
派生
60
平均合并
2 天 22 小时
30 天内合并 PR
25

环境准备

从这里开始

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

ExtendDB/extenddb 的其他 Issue

查看 ExtendDB/extenddb 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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