danny0405 commented on a change in pull request #4679:
URL: https://github.com/apache/hudi/pull/4679#discussion_r816450304
##########
File path:
hudi-flink/src/main/java/org/apache/hudi/configuration/FlinkOptions.java
##########
@@ -310,6 +318,20 @@ private FlinkOptions() {
+ "Actual value will be obtained by invoking .toString() on the
field value. Nested fields can be specified using "
+ "the dot notation eg: `a.b.c`");
+ public static final ConfigOption<String> INDEX_KEY_FIELD = ConfigOptions
+ .key(HoodieIndexConfig.BUCKET_INDEX_HASH_FIELD.key())
+ .stringType()
+ .defaultValue("uuid")
Review comment:
> If the index key field not set, use the record key field as default to
make the configuration more user-friendly?
A good suggestion, i would prefer this way so that user do not need to
declare the keys twice. The bucket number is a little different i think and it
can have a default value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]