[
https://issues.apache.org/jira/browse/BEAM-4255?focusedWorklogId=100351&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-100351
]
ASF GitHub Bot logged work on BEAM-4255:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/May/18 00:33
Start Date: 10/May/18 00:33
Worklog Time Spent: 10m
Work Description: huygaa11 commented on issue #5311: [BEAM-4255] Set
singleton view writers' accumulation mode to discarding
URL: https://github.com/apache/beam/pull/5311#issuecomment-387915274
run java precommit
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 100351)
Time Spent: 50m (was: 40m)
> GloballyAsSingletonView is writing multiple values to the SingletonView
> -----------------------------------------------------------------------
>
> Key: BEAM-4255
> URL: https://issues.apache.org/jira/browse/BEAM-4255
> 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: 50m
> 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
(v7.6.3#76005)