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

Rui Wang commented on CALCITE-4135:
-----------------------------------

`SqlDdlParserImpl` is a generated class by JavaCC, which should be based on 
configs in src/codegen.

If you run `./gradlew assemble`, and then after the command finish, you should 
be able to find `SqlDdlParserImpl` in the build directory (as I recall it is 
under javacc sub-dirctory).

> Cannot find SqlDdlParserImpl class, which seems necessary for parsing DDL.
> --------------------------------------------------------------------------
>
>                 Key: CALCITE-4135
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4135
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.23.0
>         Environment: Custom Java classes built using Gradle.
>            Reporter: Stewart Bryson
>            Priority: Major
>
> I am trying to parse DDL statements, and tried code similar to the following:
> [https://stackoverflow.com/questions/53801005/apache-calcite-cant-seem-to-parse-ddl-statements]
> However, I cannot find the SqlDdlParserImpl class anywhere. I see several 
> references to it in the GitHub repo: 
> [https://github.com/apache/calcite/search?q=SqlDdlParserImpl&unscoped_q=SqlDdlParserImpl]
> I have tried using the calcite-core and calcite-server dependencies. What am 
> I missing?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to