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

A query to an empty Hive table never returns from sqlline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Storage - Hive
    • None

    Description

      Consider an empty table in Hive as follows:

      hive> describe string_table;
      OK
      keycolumn               string                  None
      column1                 string                  None
      Time taken: 2.025 seconds, Fetched: 2 row(s)
      hive> select * from string_table;
      OK
      Time taken: 0.409 seconds
      
      

      Querying this table from sqlline never returns:

      0: jdbc:drill:local=192.168.39.43:31010> describe hive.`default`.string_table;
      +-------------+------------+-------------+
      | COLUMN_NAME | DATA_TYPE  | IS_NULLABLE |
      +-------------+------------+-------------+
      | keycolumn   | VARCHAR    | NO          |
      | column1     | VARCHAR    | NO          |
      +-------------+------------+-------------+
      2 rows selected (1.413 seconds)
      0: jdbc:drill:local=192.168.39.43:31010> select * from  hive.`default`.string_table;
      <never returns>
      

      Attachments

        1. DRILL-790-1.patch
          1 kB
          Venki Korukanti

        Activity

          People

            vkorukanti Venki Korukanti
            overcoil George Chow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: