Skip to content

Support CHANGE/MODIFY COLUMN options#344

Merged
KKould merged 1 commit into
mainfrom
feat/alter-table-change-column-options
Jun 4, 2026
Merged

Support CHANGE/MODIFY COLUMN options#344
KKould merged 1 commit into
mainfrom
feat/alter-table-change-column-options

Conversation

@KKould
Copy link
Copy Markdown
Member

@KKould KKould commented Jun 2, 2026

Summary

  • support NULL, NOT NULL, and DEFAULT options for ALTER TABLE CHANGE/MODIFY COLUMN
  • keep unsupported ALTER TABLE forms covered by SLT without adding constraint support
  • simplify DDL table batch helpers by removing the redundant tuple length argument

Scope

  • does not implement ADD CONSTRAINT / DROP CONSTRAINT
  • does not implement CHANGE/MODIFY COLUMN ... UNIQUE

Tests

  • cargo check
  • cargo run -p sqllogictest-test -- --path tests/slt/alter_table.slt
  • cargo run -p sqllogictest-test -- --path tests/slt/change_column.slt

@KKould KKould self-assigned this Jun 2, 2026
@KKould KKould added the enhancement New feature or request label Jun 2, 2026
@KKould KKould merged commit bbc1533 into main Jun 4, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant