Authors: Wei Zhong, Xingbo Huang
...
Page properties |
---|
...
|
Discussion thread: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-FLIP-114-Support-Python-UDF-in-SQL-Client-td38655.html
JIRA:
...
|
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
$ sql-client.sh embedded -e env.yaml -pyfs test.py # full example of python dependency management $ sql-client.sh embedded -e env.yaml -pyfs test.py,/home/my/func2.py -pyreq /home/my/requirements.txt#/home/my/pacakges_dir -pyarch py37.zip#venv -pyexec venv/py37/bin/python |
Use Python UDF in SQL Client:
Flink SQL > SELECT func1(a) AS a FROM source_table; |
Compatibility, Deprecation, and Migration Plan
...