WeiZhong94 commented on a change in pull request #8910: [hotfix][python] Aligns 
with Java Table API by removing methods exec_env and query_config
URL: https://github.com/apache/flink/pull/8910#discussion_r298081292
 
 

 ##########
 File path: flink-python/pyflink/shell.py
 ##########
 @@ -84,7 +84,7 @@
     *         os.remove(sink_path)
     *     else:
     *         shutil.rmtree(sink_path)
-    * bt_env.exec_env().set_parallelism(1)
+    * b_env.set_parallelism(1)
 
 Review comment:
   I think we can add "b_env" at the beginning of the example to tell the users 
what variable is predefined. "Use the 'bt_env' variable" -> "Use the 'b_env', 
'bt_env' variable"

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