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


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/IgniteSqlToRelConvertor.java:
##########
@@ -69,6 +83,98 @@ public IgniteSqlToRelConvertor(
         }
     }
 
+    @Override protected RelNode convertInsert(SqlInsert call) {
+        datasetStack.push(call);
+
+        RelNode rel = super.convertInsert(call);
+
+        datasetStack.pop();
+
+        return rel;
+    }
+
+    private static class DefaultChecker extends SqlShuttle {

Review Comment:
   ```suggestion
       private static class DefaultChecker extends SqlShuttle {
            boolean hasDefaults(SqlCall call) {
                try {
                    values.accept(checker);
                    return false;
                } catch (ControlFlowException e) {
                    return true;
                }
            }
   ```



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