wuchong commented on a change in pull request #9362: [FLINK-13354] [docs] Add
documentation for how to use blink planner
URL: https://github.com/apache/flink/pull/9362#discussion_r314636971
##########
File path: docs/dev/table/common.md
##########
@@ -142,82 +148,153 @@ A `Table` is always bound to a specific
`TableEnvironment`. It is not possible t
A `TableEnvironment` is created by calling the static
`BatchTableEnvironment.create()` or `StreamTableEnvironment.create()` method
with a `StreamExecutionEnvironment` or an `ExecutionEnvironment` and an
optional `TableConfig`. The `TableConfig` can be used to configure the
`TableEnvironment` or to customize the query optimization and translation
process (see [Query Optimization](#query-optimization)).
-Make sure to choose the `BatchTableEnvironment`/`StreamTableEnvironment` that
matches your programming language.
+Make sure to choose the specific planner
`BatchTableEnvironment`/`StreamTableEnvironment` that matches your programming
language.
+
+If both planner jars are on the classpath (the default behavior), you should
explicitly set which planner to use in the current program.
Review comment:
The selected planner must be on the classpath of the
executing Java process. For cluster setups, both planners are
automatically loaded with the default configuration. When running a query
from
your IDE you need to explicitly [add a planner
dependency]({{ site.baseurl }}/dev/table/#table-program-dependencies)
to your project.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services