Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Synchronize ddl schema change to Starrocks by parsing json #341

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

chenhaifengkeda
Copy link
Contributor

@chenhaifengkeda chenhaifengkeda commented Mar 1, 2024

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #

Problem Summary(Required) :

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
  • I have added documentation for my new feature or new function

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2024

CLA assistant check
All committers have signed the CLA.

@banmoy banmoy changed the title [Enhancement] Synchronize ddl schema change to Starrocks by parsing … [Enhancement] Synchronize ddl schema change to Starrocks by parsing json (#337) Mar 20, 2024
@@ -79,6 +80,10 @@ public void create(StreamExecutionEnvironment env, String database, Configuratio
this.excludingPattern = excludingTables == null ? null : Pattern.compile(excludingTables);
this.sinkConfig = sinkConfig;
this.tableConfig = tableConfig == null ? new HashMap<>() : tableConfig;

if (!this.tableConfig.containsKey(FAST_SCHEMA_EVOLUTION)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If StarRocks version is before 3.2, this will lead to create table fail

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thoughtful,replace it with boolean. this boolean will control whether to execute schemachange

@banmoy banmoy changed the title [Enhancement] Synchronize ddl schema change to Starrocks by parsing json (#337) [Enhancement] Synchronize ddl schema change to Starrocks by parsing json Mar 21, 2024
@banmoy banmoy merged commit 08de67a into StarRocks:main Mar 21, 2024
3 of 4 checks passed
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.

3 participants