[ https://issues.apache.org/jira/browse/FLINK-25294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dian Fu closed FLINK-25294. --------------------------- Fix Version/s: 1.15.0 1.14.3 Assignee: arya Resolution: Fixed Merged to - master via 36d341691fdfdae0c8df7acfd2cc9269cb5f2b59 - release-1.14 via 6525971b4c09f6ac6e737f1fe2c646cd05810f06 > Incorrect cloudpickle import > ---------------------------- > > Key: FLINK-25294 > URL: https://issues.apache.org/jira/browse/FLINK-25294 > Project: Flink > Issue Type: Bug > Components: API / Python > Affects Versions: 1.14.0 > Reporter: arya > Assignee: arya > Priority: Major > Labels: pull-request-available > Fix For: 1.15.0, 1.14.3 > > Original Estimate: 1h > Remaining Estimate: 1h > > In flink-python/pyflink/fn_execution/coder_impl_fast.pyx line 30 > {code:python} > from cloudpickle import cloudpickle > {code} > should simply be > {code:python} > import cloudpickle{code} > or else I get AttributeError: module 'cloudpickle.cloudpickle' has no > attribute 'dumps' when using keyed states > I assume this is left over from when cloudpickle was incorrectly packaged, > then fixed in > [FLINK-14556|https://issues.apache.org/jira/browse/FLINK-14556], so this > might have been a problem since 1.10.0 -- This message was sent by Atlassian Jira (v8.20.1#820001)