Keep non-conflicting names for common configs between DataSourceOptions and HoodieWriteConfig (#3511)
This commit is contained in:
@@ -280,7 +280,7 @@ public class FlinkOptions extends HoodieConfig {
|
||||
+ "By default true (in favor of streaming progressing over data integrity)");
|
||||
|
||||
public static final ConfigOption<String> RECORD_KEY_FIELD = ConfigOptions
|
||||
.key(KeyGeneratorOptions.RECORDKEY_FIELD.key())
|
||||
.key(KeyGeneratorOptions.RECORDKEY_FIELD_NAME.key())
|
||||
.stringType()
|
||||
.defaultValue("uuid")
|
||||
.withDescription("Record key field. Value to be used as the `recordKey` component of `HoodieKey`.\n"
|
||||
@@ -288,7 +288,7 @@ public class FlinkOptions extends HoodieConfig {
|
||||
+ "the dot notation eg: `a.b.c`");
|
||||
|
||||
public static final ConfigOption<String> PARTITION_PATH_FIELD = ConfigOptions
|
||||
.key(KeyGeneratorOptions.PARTITIONPATH_FIELD.key())
|
||||
.key(KeyGeneratorOptions.PARTITIONPATH_FIELD_NAME.key())
|
||||
.stringType()
|
||||
.defaultValue("")
|
||||
.withDescription("Partition path field. Value to be used at the `partitionPath` component of `HoodieKey`.\n"
|
||||
@@ -301,7 +301,7 @@ public class FlinkOptions extends HoodieConfig {
|
||||
.withDescription("Whether to encode the partition path url, default false");
|
||||
|
||||
public static final ConfigOption<Boolean> HIVE_STYLE_PARTITIONING = ConfigOptions
|
||||
.key(KeyGeneratorOptions.HIVE_STYLE_PARTITIONING.key())
|
||||
.key(KeyGeneratorOptions.HIVE_STYLE_PARTITIONING_ENABLE.key())
|
||||
.booleanType()
|
||||
.defaultValue(false)
|
||||
.withDescription("Whether to use Hive style partitioning.\n"
|
||||
|
||||
Reference in New Issue
Block a user