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

Ramana Inukonda Nagaraj commented on DRILL-2304:
------------------------------------------------

On second thoughts Option values are case insensitive as shown below. So at 
least for consistency this sounds like a genuine bug.
{code}
0: jdbc:drill:> alter SESSION  set `store.parquet.compression`='GZIP';
+------------+------------+
|     ok     |  summary   |
+------------+------------+
| true       | store.parquet.compression updated. |
+------------+------------+
1 row selected (0.028 seconds)
{code}


> 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
>
> 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
(v6.3.4#6332)

Reply via email to