pan3793 commented on code in PR #6115:
URL: https://github.com/apache/kyuubi/pull/6115#discussion_r1506929321
##########
kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiStatement.java:
##########
@@ -543,6 +543,18 @@ public int getMaxRows() throws SQLException {
return maxRows;
}
+ @Override
+ public boolean getMoreResults(int current) throws SQLException {
+ // getMoreResults() javadoc says, that it should implicitly close
+ // any current ResultSet object, so here in case of
Statement.CLOSE_CURRENT_RESULT
+ // we can implement the same logic
+ // see also https://issues.apache.org/jira/browse/HIVE-7680
Review Comment:
we usually use such words in comments for backport cases, but it's not.
let's make it more clear.
please change the comment to something like
```suggestion
// this is an additional enhancement on top of HIVE-7680
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]