You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/05/23 00:58:17 UTC

[jira] [Updated] (DRILL-2474) Create method for mapping options to enums

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

Chris Westin updated DRILL-2474:
--------------------------------
    Priority: Minor  (was: Major)

> 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: 1.2.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)