dianfu commented on a change in pull request #11714: [FLINK-17114][python] Set 
the default value of 'python.executable' to the path of the python interpreter 
which launches the job when the job is executed by LocalExecutor.
URL: https://github.com/apache/flink/pull/11714#discussion_r407460520
 
 

 ##########
 File path: flink-python/pyflink/table/table_environment.py
 ##########
 @@ -79,6 +81,8 @@ def __init__(self, j_tenv, serializer=PickleSerializer()):
         self._j_tenv = j_tenv
         self._is_blink_planner = TableEnvironment._judge_blink_planner(j_tenv)
         self._serializer = serializer
+        # for local executor, use current sys.executable to launch UDF worker.
 
 Review comment:
   Update the comments as following:
   `when running in MiniCluster, launch the Python UDF worker using the Python 
executable specified by sys.executable if users have not specified it 
explicitly via configuration python.executable.`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to