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

[FLINK-36977]paimon apply default value options when apply add_column schema change #3824

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hiliuxg
Copy link
Contributor

@hiliuxg hiliuxg commented Dec 28, 2024

paimon apply default value options when apply add_column schema change

@@ -73,6 +75,10 @@ public class PaimonMetadataApplier implements MetadataApplier {

private Set<SchemaChangeEventType> enabledSchemaEvolutionTypes;

private static final String OPTION_DEFAULT_VALUE_PREFIX = "FIELDS";

private static final String OPTION_DEFAULT_VALUE_SUFFIX = "default-value";
Copy link
Contributor

Choose a reason for hiding this comment

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

We could use org.apache.paimon.CoreOptions.DEFAULT_VALUE_SUFFIX directly.

@@ -73,6 +75,10 @@ public class PaimonMetadataApplier implements MetadataApplier {

private Set<SchemaChangeEventType> enabledSchemaEvolutionTypes;

private static final String OPTION_DEFAULT_VALUE_PREFIX = "FIELDS";
Copy link
Contributor

Choose a reason for hiding this comment

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

To trace the source code, We could use org.apache.paimon.CoreOptions.FIELDS_PREFIX directly.

Copy link
Contributor

@lvyanquan lvyanquan left a comment

Choose a reason for hiding this comment

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

LGTM.

@lvyanquan
Copy link
Contributor

@leonardBang @ruanhang1993 Could you please help to trigger CI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants