vvysotskyi commented on code in PR #3006:
URL: https://github.com/apache/calcite/pull/3006#discussion_r1057798342


##########
core/src/main/java/org/apache/calcite/sql/SqlPivot.java:
##########
@@ -195,5 +197,17 @@ static class Operator extends SqlSpecialOperator {
     Operator(SqlKind kind) {
       super(kind.name(), kind);
     }
+
+    @Override public SqlCall createCall(
+        @Nullable SqlLiteral functionQualifier,
+        SqlParserPos pos,
+        @Nullable SqlNode... operands) {
+      assert operands.length == 4;
+      pos = pos.plusAll(operands);

Review Comment:
   Thanks for investigating it. In this case, it makes sense to remove this 
line, I made this change and squashed it with the existing commit.



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