Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2409

Spark runner produces exactly twice the number of results in streaming mode when use triggers to re-window results on global window.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.19.0
    • Component/s: runner-spark
    • Labels:

      Description

      This can be tested with Nexmark query 6. Sorry I don’t have a smaller test case than this, but I think the part of the pipeline that produces the result is this one.

              .apply(
                  Window.<KV<Long, Bid>>into(new GlobalWindows())
                      .triggering(Repeatedly.forever(AfterPane.elementCountAtLeast(1)))
                      .accumulatingFiredPanes()
                      .withAllowedLateness(Duration.ZERO))
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iemejia Ismaël Mejía
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: