Chris Westin created DRILL-2474:
-----------------------------------

             Summary: 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
             Fix For: 1.1.0


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