From 11126c582fa49e38d17a75ce412fe47a824e3c7f Mon Sep 17 00:00:00 2001 From: xiejiajun Date: Mon, 24 Jul 2023 08:37:55 +0800 Subject: [PATCH] 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 1ea1cebcf12..0a11b28426d 100644 --- a/core/src/main/codegen/templates/Parser.jj +++ b/core/src/main/codegen/templates/Parser.jj @@ -1138,6 +1138,7 @@ SqlNode SqlStmt() : | <#if (parser.truncateStatementParserMethods!default.parser.truncateStatementParserMethods)?size != 0> + LOOKAHEAD(2) stmt = SqlTruncate() |