[
https://issues.apache.org/jira/browse/CALCITE-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17746144#comment-17746144
]
Jiajun Xie commented on CALCITE-5688:
-------------------------------------
[~julianhyde] , so sorry.
I should check the server parser, not just the core parser (There are no
warning in core parser).
New commit eliminates warnings: https://github.com/apache/calcite/pull/3335
> Support TRUNCATE TABLE DDL statement in server module
> -----------------------------------------------------
>
> Key: CALCITE-5688
> URL: https://issues.apache.org/jira/browse/CALCITE-5688
> Project: Calcite
> Issue Type: Improvement
> Components: server
> Reporter: Sumeet
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.35.0
>
>
> Calcite should support parse truncate syntax like SQL2011
> {code:java}
> <truncate table statement> ::=
> TRUNCATE TABLE <target table> [ <identity column restart option> ]
> <identity column restart option> ::=
> CONTINUE IDENTITY
> | RESTART IDENTITY {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)