dianfu commented on a change in pull request #19150:
URL: https://github.com/apache/flink/pull/19150#discussion_r830760361
##########
File path: docs/content.zh/docs/dev/python/python_execution_mode.md
##########
@@ -31,61 +31,48 @@ defines how to execute your customized Python functions.
Prior to release-1.15, there is the only execution mode called `PROCESS`
execution mode. The `PROCESS`
mode means that the Python user-defined functions will be executed in separate
Python processes.
-In release-1.15, it has introduced another two execution modes called
`MULTI-THREAD` execution mode and
-`SUB-INTERPRETER` execution mode. The `MULTI-THREAD` mode means that the
Python user-defined functions
-will be executed in the same thread as Java Operator, but it will be affected
by GIL performance.
-The `SUB-INTERPRETER` mode means that the Python user-defined functions will
be executed in Python
-different sub-interpreters rather than different threads of one interpreter,
which can largely overcome
-the effects of the GIL, but some CPython extensions libraries doesn't support
it, such as numpy, tensorflow, etc.
+In release-1.15, it has introduced a new execution mode called `THREAD`
execution mode. The `THREAD`
+mode means that the Python user-defined functions will be executed in the same
thread as Java Operator,
Review comment:
```suggestion
mode means that the Python user-defined functions will be executed in the
same process as Java Operator,
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]