xiarixiaoyao commented on a change in pull request #3952:
URL: https://github.com/apache/hudi/pull/3952#discussion_r756627131



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieClusteringConfig.java
##########
@@ -458,4 +458,27 @@ public static BuildCurveStrategyType fromValue(String 
value) {
       }
     }
   }
+
+  /**
+   * strategy types for optimize layout for hudi data.
+   */
+  public enum BuildLayoutOptimizationStrategy {
+    ZORDER("z-order"),
+    HILBERT("hilbert");
+    private final String value;
+    BuildLayoutOptimizationStrategy(String value) {
+      this.value = value;
+    }
+
+    public static BuildLayoutOptimizationStrategy fromValue(String value) {

Review comment:
       oh sorry,  
    i want use "z-order", "hilbert" as the parmeter not "ZORDER". "HILBERT"
   and if we want to call this method in scala.   valueOf will not work.




-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to