drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2304) Case sensitivity - system and session options are case sensitive
Date Thu, 07 May 2015 00:02:59 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531733#comment-14531733

Sudheesh Katkam commented on DRILL-2304:

Boot options are not registered. The option name or "config paths" are defined in multiple
places (not just ExecConstants, which is usually the case). AFAIK the configuration file is
not validated (names and values). So yes, a fix need to be applied for names and values.

> Case sensitivity - system and session options are case sensitive
> ----------------------------------------------------------------
>                 Key: DRILL-2304
>                 URL: https://issues.apache.org/jira/browse/DRILL-2304
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Information Schema
>    Affects Versions: 0.8.0
>            Reporter: Ramana Inukonda Nagaraj
>            Assignee: Jason Altekruse
>            Priority: Minor
>             Fix For: 1.2.0
>         Attachments: DRILL-2304.1.patch.txt, DRILL-2304.2.patch.txt
> TBH I am not sure if this is a bug. 
> When trying to set a session option and I specify the name in a different case the alter
command fails. Considering the way we store session options this might be an invalid bug but
considering how typical Database hints and options work this is a bug.
> {code}
> 0: jdbc:drill:> alter SESSION  set `STORE.PARQUET.COMPRESSION`='GZIP';
> Query failed: SetOptionException: Unknown option: STORE.PARQUET.COMPRESSION
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}

This message was sent by Atlassian JIRA

View raw message