You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jimmy Wong (Jira)" <ji...@apache.org> on 2019/09/10 01:29:00 UTC

[jira] [Comment Edited] (FLINK-14031) flink-examples-table should add the blink_planner dependency

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

Jimmy Wong edited comment on FLINK-14031 at 9/10/19 1:28 AM:
-------------------------------------------------------------

I want to add the blink planner dependency and a blink example to flink-examples-table module.


was (Author: gatsbynewton):
I want to add the blink dependency and a blink example to flink-examples-table module.

> flink-examples-table should add the blink_planner dependency
> ------------------------------------------------------------
>
>                 Key: FLINK-14031
>                 URL: https://issues.apache.org/jira/browse/FLINK-14031
>             Project: Flink
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 1.9.0
>            Reporter: Jimmy Wong
>            Priority: Major
>
> The flink-examples-table module is missing Blink dependency. If I run a blink example with Intellij IDEA, have error:
>  
> {code:java}
> Exception in thread "main" org.apache.flink.table.api.TableException: Could not instantiate the executor. Make sure a planner module is on the classpathException in thread "main" org.apache.flink.table.api.TableException: Could not instantiate the executor. Make sure a planner module is on the classpath at org.apache.flink.table.api.java.internal.StreamTableEnvironmentImpl.lookupExecutor(StreamTableEnvironmentImpl.java:140) at org.apache.flink.table.api.java.internal.StreamTableEnvironmentImpl.create(StreamTableEnvironmentImpl.java:110) at org.apache.flink.table.api.java.StreamTableEnvironment.create(StreamTableEnvironment.java:112) at org.apache.flink.table.examples.java.BlinkStreamSQL.main(BlinkStreamSQL.java:19)Caused by: org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find a suitable table factory for 'org.apache.flink.table.delegation.ExecutorFactory' inthe classpath.
> {code}
> *But*, once I add Blink dependency, it'll work well.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)