beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-1395) SparkGroupAlsoByWindowFn not sorting grouped elements by timestamp
Date Sun, 05 Feb 2017 18:47:41 GMT


ASF GitHub Bot commented on BEAM-1395:

GitHub user amitsela opened a pull request:

    [BEAM-1395] SparkGroupAlsoByWindowFn not sorting grouped elements by timestamp

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](

You can merge this pull request into a Git repository by running:

    $ git pull BEAM-1395

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1922
commit d2b1c678a45dd740c4ec4dbdf508564dd78e3abe
Author: Sela <>
Date:   2017-02-05T18:17:24Z

    [BEAM-1395] SparkGroupAlsoByWindowFn now sorts grouped elements by timestamp.


> SparkGroupAlsoByWindowFn not sorting grouped elements by timestamp
> ------------------------------------------------------------------
>                 Key: BEAM-1395
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-spark
>            Reporter: Amit Sela
>            Assignee: Amit Sela
> SparkGroupAlsoByWindowFn relies on the grouped elements (pre key) to be sorted by their
timestamp, which is not the case, and so could cause: 
> {code}
> IllegalStateException: Cannot move input watermark time backwards
> {code}
> We should sort the values first, just like with {{Combine}} implementations: 

This message was sent by Atlassian JIRA

View raw message