Yann Byron created HUDI-2544:
--------------------------------

             Summary: Use standard builder pattern to refactor ConfigProperty
                 Key: HUDI-2544
                 URL: https://issues.apache.org/jira/browse/HUDI-2544
             Project: Apache Hudi
          Issue Type: Improvement
          Components: configs
            Reporter: Yann Byron
             Fix For: 0.10.0


I notice that currently define a ConfigProperty object by non-standard builder 
pattern. Only `defaultValue` and `noDefaultValue` methods are executed in 
`PropertyBuilder`.

 

And when call `withAlternatives`, `sinceVersion`, `deprecatedAfter`, 
`withInferFunction` methods, will create another ConfigProperty object even 
that will be collected by jvm later.

 

So, is it necessary to minor-refactor this?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to