[
https://issues.apache.org/jira/browse/HUDI-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715056#comment-17715056
]
Jonathan Vexler commented on HUDI-6062:
---------------------------------------
ClusteringOperator seems to be internal only so I will leave as is
> 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)