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

Query fails when specifying schema name with column name

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • SQL Parser
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            norrisl Norris Lee

            Dates

              Created:
              Updated:

              Slack

                Issue deployment