CreateTable reports a global secondary index name outside the pattern at 'indexName', where DynamoDB names the member
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
crates/core/src/validation/mod.rs の validate_index_name から始め、位置の処理を #830 の crates/engine/src/update_table.rs にある validate_update_index_name と比較してください。issue では未計測とされているため、変更する前にローカルセカンダリインデックスと長さの節の位置を計測してください。無効な CreateTable の GSI 名が 1 始まりの globalSecondaryIndexes.<n>.member.indexName パスを報告し、関連する動作が確認されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What ExtendDB does
validate_index_name in crates/core/src/validation/mod.rs writes the location as indexName for every index name it refuses. For a global secondary index of CreateTable the location DynamoDB gives is the member path.
Measured on 2026-11-06 at the head of #830 (ccdae81c2), SQLite and PostgreSQL:
| Request | ExtendDB |
|---|---|
CreateTable with one GSI named g i |
1 validation error detected: Value 'g i' at 'indexName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+ |
CreateTable with GSIs gok and g<U+0000>i |
the same sentence with Value 'g<U+0000>i' at 'indexName' |
What DynamoDB does
Measured in us-east-1 on 2026-11-06, with SDK parameter validation off. The index position is 1-based:
| Request | DynamoDB |
|---|---|
one GSI named g i |
1 validation error detected: Value 'g i' at 'globalSecondaryIndexes.1.member.indexName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+ |
GSIs gok and g<U+0000>i |
... Value 'g<U+0000>i' at 'globalSecondaryIndexes.2.member.indexName' ... |
Suggested fix
Report a CreateTable GSI name fault at globalSecondaryIndexes.<n>.member.indexName. #830 does the same for UpdateTable (validate_update_index_name in crates/engine/src/update_table.rs, globalSecondaryIndexUpdates.<n>.member.create.indexName). The location for a local secondary index name and for the length clause is unmeasured. Measure it before changing it.
Related: #367, #830.
- 主要言語
- Rust
- スター
- 517
- フォーク
- 60
- 平均マージ
- 5日 3時間
- マージ済み PR(30日)
- 79
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExtendDB/extenddb のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
tests: two race tests share one boto3 client across threads and failed with TLSV1_ALERT_DECODE_ERRORオープンci:stability
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
-
storage-sqlite: a restore slot test checks the slot before the copy frees it対応中かも @Dodothereal が今日担当しました。 オープンci:stability sqlite
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
ExtendDB/extenddb の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug order-flow studies ui
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
userFRM/egui-charts#2417 ·
メンテナーはふだん 1 日以内に返信
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay live対応中かも @ragelfundionctrumnar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UCS-Care-Group/mailcraft#862 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
smoltcp-rs/smoltcp#1243 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信