You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2023/07/05 23:55:00 UTC
[jira] [Updated] (HUDI-6062) Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum notation
[ https://issues.apache.org/jira/browse/HUDI-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinoth Chandar updated HUDI-6062:
---------------------------------
Fix Version/s: 1.0.0
0.15.0
> 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
> Fix For: 1.0.0, 0.15.0
>
>
> 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)