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_r310927368
 
 

 ##########
 File path: docs/dev/table/common.md
 ##########
 @@ -35,12 +47,9 @@ All Table API and SQL programs for batch and streaming 
follow the same pattern.
 <div class="codetabs" markdown="1">
 <div data-lang="java" markdown="1">
 {% highlight java %}
-// for batch programs use ExecutionEnvironment instead of 
StreamExecutionEnvironment
-StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
 
-// create a TableEnvironment
-// for batch programs use BatchTableEnvironment instead of 
StreamTableEnvironment
-StreamTableEnvironment tableEnv = StreamTableEnvironment.create(env);
+// create a TableEnvironment for specific planner batch or streaming
+TableEnvironment tableEnv = ...; // see `Create a TableEnvironment` section
 
 Review comment:
   see "Create a TableEnvironment" section ?  use double quotes instead of 
backquote?

----------------------------------------------------------------
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

Reply via email to