You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/05/05 06:13:00 UTC
[jira] [Commented] (FLINK-27492) Flink table scala example does not including the scala-api jars
[ https://issues.apache.org/jira/browse/FLINK-27492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532073#comment-17532073 ]
Yun Gao commented on FLINK-27492:
---------------------------------
By more checking it seems this is by-design: [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/configuration/advanced/#anatomy-of-table-dependencies] .
I have updated the description and summary. I think we might still need to do some modification to the examples.
> Flink table scala example does not including the scala-api jars
> ---------------------------------------------------------------
>
> Key: FLINK-27492
> URL: https://issues.apache.org/jira/browse/FLINK-27492
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.15.0, 1.16.0
> Reporter: Yun Gao
> Priority: Critical
> Fix For: 1.16.0, 1.15.1
>
>
> Currently it seems the flink-scala-api, flink-table-api-scala-bridge is not including from the binary package[1]. However, currently the scala table examples seems not include the scala-api classes in the generated jar, If we start a standalone cluster from the binary distribution package and then submit a table / sql job in scala, it would fail due to not found the StreamTableEnvironment class.
>
> [1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/configuration/advanced/#anatomy-of-table-dependencies
--
This message was sent by Atlassian Jira
(v8.20.7#820007)