[
https://issues.apache.org/jira/browse/CALCITE-6102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mingcan Wang updated CALCITE-6102:
----------------------------------
Component/s: core
> SqlWriter in SqlInsert's unparse start a list but does not end it
> -----------------------------------------------------------------
>
> Key: CALCITE-6102
> URL: https://issues.apache.org/jira/browse/CALCITE-6102
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.35.0
> Reporter: Mingcan Wang
> Assignee: Mingcan Wang
> Priority: Minor
> Fix For: 1.36.0
>
>
> SqlWriter in SqlInsert's unparse() start a list but does not end it.
> if we put a SqlInsert into a SqlWith's body, when we un parse the SqlWith ,
> it will throw an Expception :
>
> java.lang.IllegalArgumentException: Frame does not match current frame
>
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
> at
> org.apache.calcite.sql.pretty.SqlPrettyWriter.endList(SqlPrettyWriter.java:884)
> at org.apache.calcite.sql.SqlWith$SqlWithOperator.unparse(SqlWith.java:109)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)