Skip to content

docs: close Req 4's stale (planned) rowid-alias substitution note - #614

Merged
iheitlager merged 2 commits into
mainfrom
feat/req4-btree-rowid-alias-substitution
Aug 27, 2026
Merged

docs: close Req 4's stale (planned) rowid-alias substitution note#614
iheitlager merged 2 commits into
mainfrom
feat/req4-btree-rowid-alias-substitution

Conversation

@iheitlager

Copy link
Copy Markdown
Member

Summary

  • 006-btree Req 4 read as unimplemented ("Covered functionally once feat: V1 step 7 — minimal DDL reader (sqlite_master decode) #34 lands"), but feat: V1 step 7 — minimal DDL reader (sqlite_master decode) #34's DDL reader (rowid_alias_from_sql/TableSchema::rowid_alias) already landed and substitution is already wired through src/codegen/select/projection.rs, src/codegen/stmt/insert.rs, and src/codegen/stmt/update.rs — the note was simply never updated.
  • Added the one missing piece: a btree-layer unit test proving this module itself decodes the alias column as Value::Null rather than substituting (the two existing corpus tests already prove the higher-layer substitution). Split the requirement into its two scenarios and linked both to real, passing tests.

Test plan

  • New unit test rowid_alias_column_decodes_as_null_not_substituted
  • cargo test --lib (925 tests), related corpus tests, clippy, make assurance (006-btree Req 4 now 2/2, no dead links) all clean

spend: trivial (doc correction + one small unit test, no new production code — the underlying feature was already fully shipped)

🤖 Generated with Claude Code

Req 4 read as unimplemented ("Covered functionally once #34 lands"),
but #34's DDL reader (rowid_alias_from_sql/TableSchema::rowid_alias)
already landed and substitution is already wired through
src/codegen/select/projection.rs, src/codegen/stmt/insert.rs, and
src/codegen/stmt/update.rs — the note was simply never updated.

Added the one missing piece: a btree-layer unit test proving this
module itself decodes the alias column as Value::Null rather than
substituting (the two existing corpus tests already prove the
higher-layer substitution). Split the requirement into its two
scenarios and linked both to real, passing tests.

spend: trivial (doc correction + one small unit test, no new
production code — the underlying feature was already fully shipped)
@iheitlager
iheitlager force-pushed the feat/req4-btree-rowid-alias-substitution branch from f7e4a4b to 77b52eb Compare August 27, 2026 21:08
@iheitlager
iheitlager merged commit 064f0f4 into main Aug 27, 2026
5 checks passed
@iheitlager
iheitlager deleted the feat/req4-btree-rowid-alias-substitution branch August 27, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant