You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2015/08/18 10:25:46 UTC

[jira] [Commented] (HIVE-3619) Hive JDBC driver should return a proper update-count of rows affected by query

    [ https://issues.apache.org/jira/browse/HIVE-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700921#comment-14700921 ] 

Lars Francke commented on HIVE-3619:
------------------------------------

This has been changed in the meantime to always return -1 but it'd be great if Hive could return the correct number when it knows it.

> Hive JDBC driver should return a proper update-count of rows affected by query
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-3619
>                 URL: https://issues.apache.org/jira/browse/HIVE-3619
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.9.0
>            Reporter: Harsh J
>            Priority: Minor
>         Attachments: HIVE-3619.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)