You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "bx123 (Jira)" <ji...@apache.org> on 2021/11/12 00:37:00 UTC

[jira] [Created] (FLINK-24879) ReducingStateDescriptor Constructor forgets to check ReduceFunction instanceof RichFunction

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)