nsivabalan commented on code in PR #9311:
URL: https://github.com/apache/hudi/pull/9311#discussion_r1278346078


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -727,6 +728,11 @@ public class HoodieWriteConfig extends HoodieConfig {
    */
   public static final String SPARK_SQL_MERGE_INTO_PREPPED_KEY = 
"_hoodie.spark.sql.merge.into.prepped";
 
+  /**
+   * An internal config referring to fileID encoding. 0 refers to UUID based 
encoding and 1 refers to raw string format(random string).
+   */
+  public static final String WRITES_FILEID_ENCODING =  
"_hoodie.writes.fileid.encoding";

Review Comment:
   NTR: instead of introducing an internal config, we could intercept the 
fileID format just before constructing RLI records and we auto deduct encoding. 
but at scale, parsing the fileID to deduce UUID format might have some perf 
hit. So, going via internal config might be a better option. 
   
   Open to ideas if any. 



-- 
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]

Reply via email to