zstan commented on code in PR #2906:
URL: https://github.com/apache/ignite-3/pull/2906#discussion_r1429111771


##########
modules/jdbc/src/main/java/org/apache/ignite/internal/jdbc/JdbcResultSet.java:
##########
@@ -215,6 +218,37 @@ public JdbcResultSet(List<List<Object>> rows, 
List<JdbcColumnMeta> meta) throws
         initColumnOrder();
     }
 
+    @Nullable JdbcResultSet getNextResultSet() throws SQLException {
+        try {
+            JdbcQueryFetchRequest req = new JdbcQueryFetchRequest(cursorId, 
fetchSize);
+            JdbcQuerySingleResult res = 
cursorHandler.getMoreResultsAsync(req).get();
+
+            close0(true);
+
+            if (!res.hasResults()) {

Review Comment:
   as for now - we stop further script execution if exception is raised, i.e. 
   ```
   CREATE TABLE test (id INT PRIMARY KEY);
   CREATE TABLE test (id INT PRIMARY KEY);
   SELECT 1;
   ```
   we can`t obtain SELECT 1 results, thus it seems enough, or you think that 
some mock are still necessary here ?



-- 
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]

Reply via email to