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

Difference between single and double quotes not clear and error messages are opaque

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 0.1.0-m1
    • None
    • None

    Description

      The following query fails:

      select _MAP["N_REGIONKEY"] 
      from "nation.parquet"
      

      but the following very similar query succeeds:

      select _MAP['N_REGIONKEY'] 
      from "nation.parquet"
      

      The difference is in the use of single or double quotes for the index of _MAP

      I certainly don't know what the difference is here, but it seems important to either resolve or document.

      Conversely, this query also fails, but this time because double quotes have to be used.

      select _MAP['N_REGIONKEY'] 
      from 'nation.parquet';
      

      This is pretty perverse.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tdunning Ted Dunning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: