Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2304

Case sensitivity - system and session options are case sensitive

    XMLWordPrintableJSON

Details

    Description

      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.

      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)
      

      Attachments

        1. DRILL-2304.1.patch.txt
          1 kB
          Sudheesh Katkam
        2. DRILL-2304.2.patch.txt
          3 kB
          Sudheesh Katkam

        Issue Links

          Activity

            People

              jaltekruse Jason Altekruse
              inramana Ramana Inukonda Nagaraj
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: