vvysotskyi commented on code in PR #3006:
URL: https://github.com/apache/calcite/pull/3006#discussion_r1056436172
##########
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:
`SqlOperator#createCall` does that. It seemed useful to pass operands for
the parser position.
--
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]