Juntao Hu created FLINK-31083:
---------------------------------
Summary: Python ProcessFunction with OutputTag cannot be reused
Key: FLINK-31083
URL: https://issues.apache.org/jira/browse/FLINK-31083
Project: Flink
Issue Type: Bug
Components: API / Python
Affects Versions: 1.16.1, 1.17.0
Reporter: Juntao Hu
Fix For: 1.17.0, 1.16.2, 1.18.0
{code:java}
output_tag = OutputTag("side", Types.STRING())
def udf(i):
yield output_tag, i
ds1.map(udf).get_side_output(output_tag)
ds2.map(udf){code}
raises TypeError: cannot pickle '_thread.RLock' object
--
This message was sent by Atlassian Jira
(v8.20.10#820010)