vlsi commented on a change in pull request #2270:
URL: https://github.com/apache/calcite/pull/2270#discussion_r526448125



##########
File path: core/src/main/java/org/apache/calcite/sql/SqlDelete.java
##########
@@ -30,7 +30,12 @@
  */
 public class SqlDelete extends SqlCall {
   public static final SqlSpecialOperator OPERATOR =
-      new SqlSpecialOperator("DELETE", SqlKind.DELETE);
+      new SqlSpecialOperator("DELETE", SqlKind.DELETE) {
+        @Override public SqlCall createCall(SqlLiteral functionQualifier,
+            SqlParserPos pos, SqlNode... operands) {
+          return new SqlDelete(pos, operands[0], operands[1], null, null);

Review comment:
       Why is this `null`, `null` rather than `operands[2]` and `operands[3]`?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to