hequn8128 commented on a change in pull request #9766: [FLINK-14018][python]
Add Python building blocks to make sure the basic functionality of Python
ScalarFunction could work
URL: https://github.com/apache/flink/pull/9766#discussion_r328471344
##########
File path: flink-python/bin/pyflink-udf-runner.sh
##########
@@ -32,16 +32,35 @@ if [[ "$python" = "" ]]; then
python="python"
fi
-# Add pyflink & py4j to PYTHONPATH
-PYFLINK_ZIP="$FLINK_OPT_DIR/python/pyflink.zip"
-if [[ ! ${PYTHONPATH} =~ ${PYFLINK_ZIP} ]]; then
+CURRENT_DIR=`pwd -P`
Review comment:
This script is running on worker. Add some comments that why we add the code
here. I spend some time to figure out that it is added for debug friendly.
----------------------------------------------------------------
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