You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jim Hughes (Jira)" <ji...@apache.org> on 2023/12/05 19:06:00 UTC
[jira] [Created] (FLINK-33756) Missing record with CUMULATE/HOP windows using an optimization
Jim Hughes created FLINK-33756:
----------------------------------
Summary: Missing record with CUMULATE/HOP windows using an optimization
Key: FLINK-33756
URL: https://issues.apache.org/jira/browse/FLINK-33756
Project: Flink
Issue Type: Bug
Reporter: Jim Hughes
I have seen an optimization cause a window fail to emit a record.
With the optimization `TABLE_OPTIMIZER_DISTINCT_AGG_SPLIT_ENABLED` set to true,
the configuration AggregatePhaseStrategy.TWO_PHASE set, using a HOP or CUMULATE window with an offset, a record can be sent which causes one of the multiple active windows to fail to emit a record.
The link code modifies the `WindowAggregateJsonITCase` to demonstrate the case.
The test `testDistinctSplitDisabled` shows the expected behavior. The test `testDistinctSplitEnabled` tests the above configurations and shows that one record is missing from the output.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)