You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Mai Nakagawa (Jira)" <ji...@apache.org> on 2020/05/06 19:34:00 UTC
[jira] [Commented] (BEAM-9505) SpannerIO spurious error message
with empty bundles
[ https://issues.apache.org/jira/browse/BEAM-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101114#comment-17101114 ]
Mai Nakagawa commented on BEAM-9505:
------------------------------------
Is there a way to work this around other than changing the Beam version younger than 2.18 (or waiting for 2.22 to release)?
> SpannerIO spurious error message with empty bundles
> ---------------------------------------------------
>
> Key: BEAM-9505
> URL: https://issues.apache.org/jira/browse/BEAM-9505
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: 2.18.0, 2.19.0, 2.20.0
> Reporter: Niel Markwick
> Assignee: Niel Markwick
> Priority: Minor
> Time Spent: 50m
> Remaining Estimate: 0h
>
> -When using DataflowRunner in streaming mode. DoFn.StartBundle is called multiple times for the same bundle.-
> -This does not occur with DirectRunner.-
> -This breaks DoFn's which require per-bundle setup and teardown procedures.-
> When a bundle is empty (such as in streaming if a window is empty), SpannerIO will report a spurious error message:
> {{IllegalStateException: Sorter should be null here}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)