[
https://issues.apache.org/jira/browse/CALCITE-5624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706994#comment-17706994
]
Guillaume Massé commented on CALCITE-5624:
------------------------------------------
Hum it does not look like Parser.jj (SqlParserImpl) is not aware of the
dialect. I could implement this by using a freemarker options
(`includeArrayConstructor: true`) or dynamically via SqlParser.Config (eg
`withArrayConstructor(false)`).
> Cannot parse array udf for Spark Dialect
> ----------------------------------------
>
> Key: CALCITE-5624
> URL: https://issues.apache.org/jira/browse/CALCITE-5624
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.34.0
> Reporter: Guillaume Massé
> Priority: Minor
>
> AtomicRowExpression should not have ArrayConstructor for Apache Spark. Arrays
> are constructed by a udf
> ([https://spark.apache.org/docs/latest/api/sql/index.html#array]).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)