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

Query fails when specifying schema name with column name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: SQL Parser
    • Labels:
      None

      Description

      When the schema name is specified in the column names, the query fails with a table not found error.

       
      0: jdbc:drill:zk=localhost:5181> SELECT `hive43.default`.double_table.keycolumn, `hive43.default`.double_table.column1 FROM `hive43.default`.double_table;
      Query failed: Failure while parsing sql. Table 'hive43.default' not found [010fac69-c747-41f8-b5ec-274428c78a73]
      
      Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                norrisl Norris Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: