beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Bonaci (JIRA)" <>
Subject [jira] [Updated] (BEAM-854) ReifyTimestampAndWindows explodes windows
Date Thu, 29 Dec 2016 01:29:58 GMT


Davor Bonaci updated BEAM-854:
    Component/s: runner-core

> ReifyTimestampAndWindows explodes windows
> -----------------------------------------
>                 Key: BEAM-854
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core
>            Reporter: Eugene Kirpichov
>            Assignee: Kenneth Knowles
>             Fix For: 0.4.0-incubating
> Commit
changed the fn from accessing the collection of windows to accessing the windows one-by-one,
which causes this DoFn to explode them, which (I suppose) hurts performance, since this Fn
is quite important: it's a part of GroupByKey in the Spark runner and Direct runner, part
of Splittable DoFn, part of GBKViaGBKO, and part of GatherAllPanes.
> I can see a couple of ways to fix this:
> - Make this be a primitive transform, with runner-specific support to keep the windows
> - Allow any DoFn to access the compressed representation explicitly using a Collection<BoundedWindow>
> I'm personally in favor of the latter because it automatically benefits all runners.

This message was sent by Atlassian JIRA

View raw message