| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request Test Coverage Report for Build 21280275069Details
💛 - Coveralls |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR adds support for the SETTINGS clause in ALTER TABLE ADD COLUMN statements, allowing users to specify settings like alter_sync when adding columns to tables in ClickHouse.
Changes:
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| parser/ast.go | Added Settings field to AlterTableAddColumn struct and updated End(), String(), and Accept() methods to handle the new field |
| parser/parser_alter.go | Added parsing logic for the SETTINGS clause in parseAlterTableAddColumn function |
| parser/walk.go | Added Settings field traversal in the Walk function for AlterTableAddColumn |
| parser/testdata/ddl/alter_table_add_column.sql | Updated test SQL to include SETTINGS clause with alter_sync setting |
| parser/testdata/ddl/format/alter_table_add_column.sql | Updated format test file to show origin and formatted SQL with SETTINGS clause |
| parser/testdata/ddl/output/alter_table_add_column.sql.golden.json | Updated golden JSON output to include Settings field structure |
| parser/testdata/dml/output/alter_table_with_comment.sql.golden.json | Updated golden JSON to include Settings field (set to null for cases without SETTINGS clause) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
No description provided.