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

Stewart Bryson commented on CALCITE-4135:
-----------------------------------------

So just using Calcite as a dependency/library in some Java code seems like it's 
not possible. So it sounds like I need to do my own build of Calcite, configure 
"maven-publish" to publish my own jar file somewhere, and then use that 
dependency in my code?

Curiously... is there a reason you don't publish this class in a dependency? Is 
there something about the `javacc` use as opposed to the built-in `jar` class 
that makes publishing this difficult?

I just starting trying out Calcite, so my apologies for what might be silly 
questions.

> 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