Re: Python UDF environment variables

2021-03-17 Thread Dian Fu
AFAIK, the system environment variables will be passed to the Python process by default. See [1] for more details. [1] https://github.com/apache/flink/blob/97bfd049951f8d52a2e0aed14265074c4255ead0/flink-python/src/main/java/org/apache/flink/streaming/api/operators/python/AbstractPythonFunctionO

Python UDF environment variables

2021-03-17 Thread Soren Macbeth
Hello, It seems that the environment of my Task Manager container is not available to my python process with executing a python api UDF. Is there some way that I can allow it to access them or some configuration I can set to enable this? I'm testing this my printing out `os.environ` in my UDF. TI