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

Chris Westin updated DRILL-2474:
--------------------------------
    Fix Version/s:     (was: 1.2.0)
                   Future

> Create method for mapping options to enums
> ------------------------------------------
>
>                 Key: DRILL-2474
>                 URL: https://issues.apache.org/jira/browse/DRILL-2474
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 0.8.0
>            Reporter: Chris Westin
>            Assignee: Chris Westin
>            Priority: Minor
>             Fix For: Future
>
>
> This came up in the context of 
> https://reviews.apache.org/r/31691/#comment124065 (re the 
> SCALAR_REPLACEMENT_OPTION setting checked by 
> ClassTransformer.getImplementationClass()). Basically, we have a system level 
> option that specifies an enum value, and we have to convert the string to an 
> enum each time. See if it would be possible to create some kind of 
> EnumValidator (possibly generic) that will do this check and conversion once 
> each time the option is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to