[
https://issues.apache.org/jira/browse/CALCITE-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810253#comment-16810253
]
Julian Hyde commented on CALCITE-2847:
--------------------------------------
[~zhztheplayer], Thank you for excellent work on this. If we need to change a
LOOKAHEAD(2) to LOOKAHEAD(3) in order to work around a documented JavaCC bug, I
have no problem with that whatsoever. +1 when you're ready to commit.
> Optimize global LOOKAHEAD for SQL parsers
> -----------------------------------------
>
> Key: CALCITE-2847
> URL: https://issues.apache.org/jira/browse/CALCITE-2847
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Hongze Zhang
> Assignee: Hongze Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.20.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently global LOOKAHEAD is set to 2 for the built-in SQL parsers[1], we'd
> like to optimize LOOKAHEAD to 1 to enable performance enhancement if possible.
> [1]https://github.com/apache/calcite/blob/883666929478aabe07ee5b9e572c43a6f1a703e2/core/pom.xml#L304
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)