bx123 created FLINK-24879:
-----------------------------

             Summary: ReducingStateDescriptor Constructor forgets to check 
ReduceFunction instanceof RichFunction
                 Key: FLINK-24879
                 URL: https://issues.apache.org/jira/browse/FLINK-24879
             Project: Flink
          Issue Type: Bug
          Components: API / Core
            Reporter: bx123


the reduceFunction in ReducingStateDescriptor should not be a richfunction.

This behavior is only checked when ReducingStateDescriptor is constructed with 
a Class<?>.

we should also check this when constructing ReducingStateDescriptor with 

TypeInformation or TypeSerializer.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to