Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17429

Hive JDBC doesn't return rows when querying Impala

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2
    • Fix Version/s: 2.1.0, 2.1.1, 3.0.0, 2.4.0, 2.2.1, 2.3.4
    • Component/s: JDBC
    • Labels:
      None
    • Release Note:
      Check for resultSet returned by TExecuteRequest in Hive JDBC. This preserves compatibility when fetching data from Impala.
    • Flags:
      Patch

      Description

      The Hive JDBC driver used to return a result set when querying Impala. Now, instead, it gets data back but interprets the data as query logs instead of a resultSet. This causes many issues (we see complaints about beeline as well as test failures).

      This appears to be a regression introduced with asynchronous operation against Hive.

      Ideally, we could make both behaviors work. I have a simple patch that should fix the problem.

        Attachments

        1. HIVE-17429.2.patch
          1 kB
          Zach Amsden
        2. HIVE-17429.1.patch
          1 kB
          Zach Amsden

          Activity

            People

            • Assignee:
              zamsden Zach Amsden
              Reporter:
              zamsden Zach Amsden
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: