-
Notifications
You must be signed in to change notification settings - Fork 2k
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
base: master
Are you sure you want to change the base?
[FLINK-36977]paimon apply default value options when apply add_column schema change #3824
Conversation
@@ -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"; |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@leonardBang @ruanhang1993 Could you please help to trigger CI? |
paimon apply default value options when apply add_column schema change