[ https://issues.apache.org/jira/browse/BEAM-4796?focusedWorklogId=144875&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-144875 ]
ASF GitHub Bot logged work on BEAM-4796: ---------------------------------------- Author: ASF GitHub Bot Created on: 17/Sep/18 15:25 Start Date: 17/Sep/18 15:25 Worklog Time Spent: 10m Work Description: nielm commented on issue #6409: [BEAM-4796] SpannerIO: Add option to wait for Schema to be ready. URL: https://github.com/apache/beam/pull/6409#issuecomment-422061192 Note that I could not work out how to test a pipeline that uses Wait.on(signal), so no tests were added for 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 144875) Time Spent: 20m (was: 10m) > SpannerIO waits for all input before writing > -------------------------------------------- > > Key: BEAM-4796 > URL: https://issues.apache.org/jira/browse/BEAM-4796 > Project: Beam > Issue Type: Bug > Components: io-java-gcp > Affects Versions: 2.5.0 > Reporter: Niel Markwick > Assignee: Chamikara Jayalath > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > SpannerIO.Write waits for all input in the window to arrive before getting > the schema: > [https://github.com/apache/beam/blame/release-2.5.0/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java#L841] > > In streaming mode, this is not an issue, but in batch mode, this causes the > pipeline to stall until all input is read, which could be a significant > amount of time (and temp data). > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)