drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2474) Create method for mapping options to enums
Date Mon, 16 Mar 2015 17:44:39 GMT
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

View raw message