You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/19 15:54:00 UTC
[jira] [Updated] (FLINK-24879) ReducingStateDescriptor Constructor forgets to check ReduceFunction instanceof RichFunction
[ https://issues.apache.org/jira/browse/FLINK-24879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-24879:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)