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

Leonard Xu edited comment on FLINK-14031 at 9/10/19 1:43 AM:
-------------------------------------------------------------

[~GatsbyNewton] good catch!

It looks like that we missed blink planner dependency here,

I'll fix it and add more related  examples which use blink planner.


was (Author: leonard xu):
[~GatsbyNewton] good catch!

It looks like that we missed blink planner dependency here,

I'll fix it and add more related ** examples which use blink planner.

> 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 planner 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 planner dependency, it'll work well.
>  



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

Reply via email to