Closed a49a closed 2 years ago
I resolve this problem by bumping to 2.1.0
Is the error caused by a mismatch between cloudpickle version on client and server?
Took a closer look at the description, sounds like a bug in 2.0.0
Closing as everybody seems to agree that this was fixed in 2.1.0.
When I bump clouldpickle from 1.2.2 to 2.0.0 in the Python Flink, the following PR CI throws an error that can not find method
clear
in parent class ofMyProcessFunction
https://github.com/apache/flink/pull/19802
But the following simple demo can't repeat this error.
The
new_d
directly extendsA
andB
, the C class is lost, in the Python Flink environment. What would cause the parent class to be lost in the 2.0.0 version, and no error message?The following is 1.2.2 version pkl file.
MyProcessFunction
extendsProcessWindowFunction
. This is correct.The following is 2.0.0 version pkl file.
MyProcessFunction
extendsFunction
andGeneric
. This is not correct.