beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-4255) GloballyAsSingletonView is writing multiple values to the SingletonView
Date Thu, 24 May 2018 22:38:00 GMT


ASF GitHub Bot logged work on BEAM-4255:

                Author: ASF GitHub Bot
            Created on: 24/May/18 22:37
            Start Date: 24/May/18 22:37
    Worklog Time Spent: 10m 
      Work Description: huygaa11 commented on issue #5311: [BEAM-4255] Set singleton view
writers' accumulation mode to discarding
   Using singletonView with Combine is generally flawed. Not continuing this PR

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 105763)
    Time Spent: 1h 10m  (was: 1h)

> GloballyAsSingletonView is writing multiple values to the SingletonView
> -----------------------------------------------------------------------
>                 Key: BEAM-4255
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.4.0
>            Reporter: Batkhuyag Batsaikhan
>            Assignee: Batkhuyag Batsaikhan
>            Priority: Major
>             Fix For: 3.0.0
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
> The code snippet below is writing multiple values to the sideInput. Resulting in exception:
"PCollection with more than one element accessed as a singleton view."
> PCollectionView<Integer> globalView = input
>  .apply(Window.<Integer>into(new GlobalWindows())
>     .triggering(Repeatedly.forever(AfterPane.elementCountAtLeast(1)))
>     .accumulatingFiredPanes())
>  .apply(Sum.integersGlobally().asSingletonView())

This message was sent by Atlassian JIRA

View raw message