danny0405 commented on a change in pull request #4679:
URL: https://github.com/apache/hudi/pull/4679#discussion_r793225549
##########
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")
+ .withDescription("Record key field. Value to be used as the `recordKey`
component of `HoodieKey`.\n"
+ + "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<Integer> BUCKET_INDEX_NUM_BUCKETS =
ConfigOptions
+ .key(HoodieIndexConfig.BUCKET_INDEX_NUM_BUCKETS.key())
+ .intType()
+ .defaultValue(256) // default 256 buckets per partition
+ .withDescription("Hudi bucket number per partition. Only affected if
using Hudi bucket index.");
Review comment:
Is there any reason the default value is 256 here, seems to generate
many small files for small data sets.
--
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]