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

Hive JDBC doesn't return rows when querying Impala

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2
    • 2.1.0, 2.1.1, 2.2.1, 2.3.4, 2.4.0, 3.0.0
    • JDBC
    • None
    • Check for resultSet returned by TExecuteRequest in Hive JDBC. This preserves compatibility when fetching data from Impala.
    • 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.1.patch
          1 kB
          Zach Amsden
        2. HIVE-17429.2.patch
          1 kB
          Zach Amsden

        Activity

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

          People

            zamsden Zach Amsden Assign to me
            zamsden Zach Amsden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment