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

Incorrect result for group window aggregate when mini-batch is enabled

    XMLWordPrintableJSON

Details

    Description

      We can reproduce this issue through adding the following code to GroupWindowITCase#testWindowAggregateOnUpsertSource method:

          tEnv.getConfig.getConfiguration.setBoolean(
            ExecutionConfigOptions.TABLE_EXEC_MINIBATCH_ENABLED, true)
          tEnv.getConfig.getConfiguration.set(
            ExecutionConfigOptions.TABLE_EXEC_MINIBATCH_ALLOW_LATENCY, Duration.ofSeconds(1))
          tEnv.getConfig.getConfiguration.setLong(
            ExecutionConfigOptions.TABLE_EXEC_MINIBATCH_SIZE, 10L)
      

      The reason is the group window without any data (the data may be retracted) should not send any record.

      Attachments

        Issue Links

          Activity

            People

              jingzhang Jing Zhang
              godfreyhe godfrey he
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: