You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Jonathan Vexler (Jira)" <ji...@apache.org> on 2023/04/11 21:16:00 UTC
[jira] [Created] (HUDI-6062) Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum notation
Jonathan Vexler created HUDI-6062:
-------------------------------------
Summary: 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
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)