[
https://issues.apache.org/jira/browse/FLINK-4864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15595076#comment-15595076
]
ASF GitHub Bot commented on FLINK-4864:
---------------------------------------
Github user fhueske commented on the issue:
https://github.com/apache/flink/pull/2673
Thanks for the PR @wuchong.
I tried to build a Table API program with the flink-table dependency, but
the compilation failed with the following error message:
> Caused by: scala.reflect.internal.Types$TypeError: bad symbolic
reference. A signature in TableEnvironment.class refers to term parser in value
org.apache.sql which is not available.
I'm not sure what exactly is going wrong, but it looks like the package
`org.apache.sql` is not correct. It should probably be `org.apache.calcite.sql`
which has a `parser` subpackage.
Thanks, Fabian
> Shade Calcite dependency in flink-table
> ---------------------------------------
>
> Key: FLINK-4864
> URL: https://issues.apache.org/jira/browse/FLINK-4864
> Project: Flink
> Issue Type: Improvement
> Components: Table API & SQL
> Affects Versions: 1.2.0
> Reporter: Fabian Hueske
> Assignee: Jark Wu
>
> The Table API has a dependency on Apache Calcite.
> A user reported to have version conflicts when having a own Calcite
> dependency in the classpath.
> The solution would be to shade away the Calcite dependency (Calcite's
> transitive dependencies are already shaded).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)