[ 
https://issues.apache.org/jira/browse/HUDI-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HUDI-6062:
---------------------------------
    Labels: pull-request-available  (was: )

> Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum 
> notation
> --------------------------------------------------------------------------------------
>
>                 Key: HUDI-6062
>                 URL: https://issues.apache.org/jira/browse/HUDI-6062
>             Project: Apache Hudi
>          Issue Type: Improvement
>          Components: clustering, code-quality, configs
>            Reporter: Jonathan Vexler
>            Assignee: Jonathan Vexler
>            Priority: Minor
>              Labels: pull-request-available
>
> ClusteringOperator and LayoutOptimizationStrategy have enums with values that 
> are not capitalized snake case like every other config. We need to maintain 
> backwards compatibility so we can't just change this. To make this change, we 
> need to have the old values be translated to the updated values so that if a 
> user uses the old values, it will still work. For example if the 
> hoodie.layout.optimize.strategy config is set to "z-order" we need to 
> translate it to "ZORDER" and then use "ZORDER" internally. But the user could 
> also set the config to "ZORDER" of course.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to