This is an automated email from the ASF dual-hosted git repository.

hxb pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new 97382e1  [FLINK-23948][python][doc] Fix the priority description of 
the python client executable
97382e1 is described below

commit 97382e1c5c5a0a27c36228b96c8fe7d613f73f2e
Author: huangxingbo <[email protected]>
AuthorDate: Wed Aug 25 17:05:40 2021 +0800

    [FLINK-23948][python][doc] Fix the priority description of the python 
client executable
---
 docs/layouts/shortcodes/generated/python_configuration.html       | 2 +-
 .../src/main/java/org/apache/flink/python/PythonOptions.java      | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/layouts/shortcodes/generated/python_configuration.html 
b/docs/layouts/shortcodes/generated/python_configuration.html
index 1f88dbb..7027c6d 100644
--- a/docs/layouts/shortcodes/generated/python_configuration.html
+++ b/docs/layouts/shortcodes/generated/python_configuration.html
@@ -18,7 +18,7 @@
             <td><h5>python.client.executable</h5></td>
             <td style="word-wrap: break-word;">"python"</td>
             <td>String</td>
-            <td>The path of the Python interpreter used to launch the Python 
process when submitting the Python jobs via "flink run" or compiling the 
Java/Scala jobs containing Python UDFs. Equivalent to the environment variable 
PYFLINK_CLIENT_EXECUTABLE. The priority is as following: <br />1. the 
configuration 'python.client.executable' defined in the source code;<br />2. 
the environment variable PYFLINK_CLIENT_EXECUTABLE;<br />3. the configuration 
'python.client.executable' defined in  [...]
+            <td>The path of the Python interpreter used to launch the Python 
process when submitting the Python jobs via "flink run" or compiling the 
Java/Scala jobs containing Python UDFs. Equivalent to the environment variable 
PYFLINK_CLIENT_EXECUTABLE. The priority is as following: <br />1. the 
configuration 'python.client.executable' defined in the source code(Only used 
in Flink Java SQL/Table API job call Python UDF);<br />2. the configuration 
'python.client.executable' defined in f [...]
         </tr>
         <tr>
             <td><h5>python.executable</h5></td>
diff --git 
a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java 
b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
index ec51f6e..f4ca291 100644
--- a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
+++ b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
@@ -129,12 +129,12 @@ public class PythonOptions {
                                                     + "The priority is as 
following: ")
                                     .linebreak()
                                     .text(
-                                            "1. the configuration 
'python.client.executable' defined in the source code;")
-                                    .linebreak()
-                                    .text("2. the environment variable 
PYFLINK_CLIENT_EXECUTABLE;")
+                                            "1. the configuration 
'python.client.executable' defined in the source code(Only used in Flink Java 
SQL/Table API job call Python UDF);")
                                     .linebreak()
                                     .text(
-                                            "3. the configuration 
'python.client.executable' defined in flink-conf.yaml")
+                                            "2. the configuration 
'python.client.executable' defined in flink-conf.yaml")
+                                    .linebreak()
+                                    .text("3. the environment variable 
PYFLINK_CLIENT_EXECUTABLE;")
                                     .build());
 
     /** Whether the memory used by the Python framework is managed memory. */

Reply via email to