AMashenkov commented on code in PR #2789:
URL: https://github.com/apache/ignite-3/pull/2789#discussion_r1392477758


##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/jdbc/JdbcQueryCursor.java:
##########
@@ -87,4 +87,18 @@ public SqlQueryType queryType() {
     public ResultSetMetadata metadata() {
         return cur.metadata();
     }
+
+    /** {@inheritDoc} */
+    @Override
+    public boolean hasNextResult() {
+        // TODO https://issues.apache.org/jira/browse/IGNITE-20661
+        return false;
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public CompletableFuture<AsyncSqlCursor<T>> nextResult() {
+        // TODO https://issues.apache.org/jira/browse/IGNITE-20661
+        throw new UnsupportedOperationException();

Review Comment:
   Seems, we can throw correct error here
   ```suggestion
          if (!hasNextResult()) {
              throw new QueryHasNoMoreResultsException();
          }
   ```



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