dssysolyatin commented on code in PR #2819:
URL: https://github.com/apache/calcite/pull/2819#discussion_r1001561672
##########
core/src/main/codegen/templates/Parser.jj:
##########
@@ -243,6 +243,17 @@ public class ${parser.class} extends SqlAbstractParserImpl
return SqlStmtList();
}
+ public SqlNode parseArray() throws SqlParseException {
+ switchTo(LexicalState.BQID);
+ try {
+ return ArrayLiteral();
+ } catch (ParseException ex) {
Review Comment:
I used catch twice because javaCC can not parse `catch (ParseException |
TokenMsgError ex)` for some reason.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]