You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/15 00:39:04 UTC

[jira] [Commented] (DRILL-2304) Case sensitivity - system and session options are case sensitive

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

ASF GitHub Bot commented on DRILL-2304:
---------------------------------------

GitHub user sudheeshkatkam opened a pull request:

    https://github.com/apache/drill/pull/90

    DRILL-2304: Case sensitivity - system and session options are case sensitive

    @jaltekruse please review.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudheeshkatkam/drill DRILL-2304

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/90.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #90
    
----
commit 313c8e3632fa71a5ed5f62baf1146e8c20f80065
Author: Sudheesh Katkam <sk...@maprtech.com>
Date:   2015-07-14T18:29:56Z

    DRILL-2304: Part 1: Documentation for OptionManagers
    + corrected error message in BaseOptionManager
    + use getAdmin in setOption method

commit f33654c7c539863e56958cc1746eded329b73e61
Author: Sudheesh Katkam <sk...@maprtech.com>
Date:   2015-07-14T21:54:16Z

    DRILL-2304: Part 2: Manage options with lowercase names

----


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