drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2474) Create method for mapping options to enums
Date Wed, 01 Jul 2015 23:27:04 GMT

     [ 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)

> 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

View raw message