This is an automated email from the ASF dual-hosted git repository.

jiajunxie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new 11126c582f Following [CALCITE-5688] Eliminate warnings in server parser
11126c582f is described below

commit 11126c582fa49e38d17a75ce412fe47a824e3c7f
Author: xiejiajun <jiajunbernou...@foxmail.com>
AuthorDate: Mon Jul 24 08:37:55 2023 +0800

    Following [CALCITE-5688] Eliminate warnings in server parser
---
 core/src/main/codegen/templates/Parser.jj | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/main/codegen/templates/Parser.jj 
b/core/src/main/codegen/templates/Parser.jj
index 1ea1cebcf1..0a11b28426 100644
--- a/core/src/main/codegen/templates/Parser.jj
+++ b/core/src/main/codegen/templates/Parser.jj
@@ -1138,6 +1138,7 @@ SqlNode SqlStmt() :
     |
 </#if>
 <#if 
(parser.truncateStatementParserMethods!default.parser.truncateStatementParserMethods)?size
 != 0>
+        LOOKAHEAD(2)
         stmt = SqlTruncate()
     |
 </#if>

Reply via email to