dssysolyatin commented on code in PR #4601:
URL: https://github.com/apache/calcite/pull/4601#discussion_r2470683165
##########
core/src/main/java/org/apache/calcite/sql/dialect/SparkSqlDialect.java:
##########
@@ -155,6 +156,20 @@ public SparkSqlDialect(SqlDialect.Context context) {
case POSITION:
SqlUtil.unparseFunctionSyntax(SqlStdOperatorTable.POSITION, writer,
call, false);
break;
+ case UNNEST:
+ if (call.getOperator() instanceof SqlUnnestOperator
Review Comment:
Is the unparse logic different from the unparse logic of other function
operators? If not, then there’s no need to create your own mechanism to unparse
a function call
--
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]