Re: PyFlink MapState with Types.ROW() throws exception

2023-10-05 Thread Elkhan Dadashov
After digging into the flink-python code, It seems if `PYFLINK_GATEWAY_DISABLED` is set to false in an environment variable, then using Types.LIST(Types.ROW([...])) does not have any issue, once Java Gateway is launched. It was unexpected for Flink local run to set this flag to false explicitly.

PyFlink MapState with Types.ROW() throws exception

2023-10-04 Thread Elkhan Dadashov
Hi Flinkers, I'm trying to use MapState, where the value will be a list of type elements. Wanted to check if anyone else faced the same issue while trying to use MapState in PyFlink with complex types. Here is the code: from pyflink.common import Time from pyflink.common.typeinfo import Types

[jira] [Created] (FLINK-33188) PyFlink MapState with Types.ROW() throws exception

2023-10-04 Thread Elkhan Dadashov (Jira)
Elkhan Dadashov created FLINK-33188: --- Summary: PyFlink MapState with Types.ROW() throws exception Key: FLINK-33188 URL: https://issues.apache.org/jira/browse/FLINK-33188 Project: Flink