[ 
https://issues.apache.org/jira/browse/BEAM-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463176#comment-16463176
 ] 

Andrew Pilloud commented on BEAM-4233:
--------------------------------------

This appears to be related to JavaCC version. The BeamSqlDslAggregationTest. 
testUnsupportedDistinct test found this. I get the following with JavaCC 4.0:
{code:java}
org.apache.calcite.sql.parser.SqlParseException: Encountered "*" at line 1, 
column 31.{code}
And with 6.1.2:
{code:java}
org.apache.calcite.sql.parser.SqlParseException: Encountered "" at line 1, 
column 31.{code}

> SQL generated code don't match between Maven and Gradle 
> --------------------------------------------------------
>
>                 Key: BEAM-4233
>                 URL: https://issues.apache.org/jira/browse/BEAM-4233
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Andrew Pilloud
>            Assignee: Andrew Pilloud
>            Priority: Major
>
> The generated code between maven and gradle don't match. Particularly in the 
> SQL parser. This causes the behavior of our generated SQL parser to be 
> incorrect when built from gradle.
> The Maven plugin is using JavaCC version 4.0 while the Gradle plugin is using 
> version 6.1.2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to