Member since
03-15-2017
2
Posts
0
Kudos Received
0
Solutions
03-28-2017
04:33 PM
@san ch It is hardcoded to return "-1" and work as designed so far. https://github.com/apache/hive/blob/master/jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java#L681-L690 public int getUpdateCount() throws SQLException {
checkConnection("getUpdateCount");
/**
* Poll on the operation status, till the operation is complete. We want to ensure that since a
* client might end up using executeAsync and then call this to check if the query run is
* finished.
*/
waitForOperationToComplete();
return -1;
}
.
... View more