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

Hive JDBC driver should return a proper update-count of rows affected by query

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

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.0
    • None
    • JDBC
    • None

    Description

      HiveStatement.java currently has an explicit 0 return:

      public int getUpdateCount() throws SQLException

      { return 0; }

      Ideally we ought to emit the exact number of rows affected by the query statement itself.

      Attachments

        1. HIVE-3619.patch
          0.5 kB
          Konstantin I Boudnik

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            qwertymaniac Harsh J

            Dates

              Created:
              Updated:

              Slack

                Issue deployment