[jira] [Updated] (HUDI-6062) Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum notation

2023-07-05 Thread Vinoth Chandar (Jira)


 [ 
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)


[jira] [Updated] (HUDI-6062) Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum notation

2023-04-21 Thread Jonathan Vexler (Jira)


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

Jonathan Vexler updated HUDI-6062:
--
Status: In Progress  (was: Open)

> 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)


[jira] [Updated] (HUDI-6062) Update LayoutOptimizationStrategy and ClusteringOperator to use standard enum notation

2023-04-21 Thread ASF GitHub Bot (Jira)


 [ 
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)