Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5955

Merging a list of buffered records will have problem when ObjectReuse is turned on

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Table API & SQL
    • Labels:
      None

      Description

      Turn on ObjectReuse in MultipleProgramsTestBase:
      TestEnvironment clusterEnv = new TestEnvironment(cluster, 4, true);

      Then the tests "testEventTimeSessionGroupWindow", "testEventTimeSessionGroupWindow", and "testEventTimeTumblingGroupWindowOverTime" will fail.

      The reason is that we have buffered iterated records for group-merge. I think we should change the Agg merge to pair-merge, and later add group-merge when needed (in the future we should add rules to select either pair-merge or group-merge, but for now all built-in aggregates should work fine with pair-merge).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ShaoxuanWang Shaoxuan Wang
                Reporter:
                ShaoxuanWang Shaoxuan Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: