[
https://issues.apache.org/jira/browse/BEAM-11063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548965#comment-17548965
]
Danny McCormick commented on BEAM-11063:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20575
> FlinkStateInternals assumes that null value for accumulator means that the
> accumulator was never created
> --------------------------------------------------------------------------------------------------------
>
> Key: BEAM-11063
> URL: https://issues.apache.org/jira/browse/BEAM-11063
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Reporter: Luke Cwik
> Priority: P3
>
> FlinkStateInternals assumes that null value for accumulator means that the
> accumulator was never created. There are combiners which have non-null values
> returned by createAccumulator but null values after merging.
> It would be good to have a ValidatesRunner test that covers an accumulator
> with a null final value and non-null initial value.
> Code link:
> https://github.com/apache/beam/blob/v2.24.0/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/state/FlinkStateInternals.java#L507
--
This message was sent by Atlassian Jira
(v8.20.7#820007)