Skip to content

[split 17/22] ddl parser: case-insensitive built-in ignore patterns, DDL translation regression suite - #1372

Open
minguyen9988 wants to merge 1 commit into
omniwatcher/split-16-db-opsfrom
omniwatcher/split-17-ddl-parser
Open

[split 17/22] ddl parser: case-insensitive built-in ignore patterns, DDL translation regression suite#1372
minguyen9988 wants to merge 1 commit into
omniwatcher/split-16-db-opsfrom
omniwatcher/split-17-ddl-parser

Conversation

@minguyen9988

Copy link
Copy Markdown
Collaborator

Stacked PR: based on the previous PR in the series (omniwatcher/split-16-db-ops); this PR's own diff is only its listed files. Merge the series in order; after the predecessor merges, retarget this PR to 2.10.0.

  • The built-in ANALYZE PARTITION ignore pattern gains (?i) (its ADD/DROP PARTITION siblings already had it), and the built-in ignore branch now records lastIgnoredDDL exactly like the user-configured IGNORE_DDL_REGEX branch - previously a built-in-ignored statement was invisible to operators.
  • MySqlDDLParserListenerImpl: DATETIME(p) precision translation, generated-column and charset clause handling, extractTableName helper.
  • DDLTranslationRegressionTest (new) + DropTruncateDetectionTest pin MySQL -> ClickHouse DDL translation end-to-end; MySqlDDLParserListenerImplTest expanded.
  • DataTypeConverter DateTime64 precision fix rides along because the translation tests assert through it.

Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.

Split out of #1353, which this series replaces. Each sub-PR is <= 10 files; the union of all 22 reproduces the #1353 tree exactly (verified by tree SHA).

…n regression suite

- The built-in ANALYZE PARTITION ignore pattern gains (?i) (its ADD/DROP PARTITION siblings already had it), and the built-in ignore branch now records lastIgnoredDDL exactly like the user-configured IGNORE_DDL_REGEX branch - previously a built-in-ignored statement was invisible to operators.
- MySqlDDLParserListenerImpl: DATETIME(p) precision translation, generated-column and charset clause handling, extractTableName helper.
- DDLTranslationRegressionTest (new) + DropTruncateDetectionTest pin MySQL -> ClickHouse DDL translation end-to-end; MySqlDDLParserListenerImplTest expanded.
- DataTypeConverter DateTime64 precision fix rides along because the translation tests assert through it.

Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.
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