[ https://issues.apache.org/jira/browse/FLINK-14031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt Young reassigned FLINK-14031: ---------------------------------- Assignee: Jimmy Wong > 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 > Assignee: Jimmy Wong > Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > 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)