You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2019/06/12 08:56:00 UTC

[jira] [Updated] (BEAM-3844) Trigger example in the cookbook failed to run on Dataflow

     [ https://issues.apache.org/jira/browse/BEAM-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismaël Mejía updated BEAM-3844:
-------------------------------
    Status: Open  (was: Triage Needed)

> Trigger example in the cookbook failed to run on Dataflow
> ---------------------------------------------------------
>
>                 Key: BEAM-3844
>                 URL: https://issues.apache.org/jira/browse/BEAM-3844
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-java
>    Affects Versions: 2.3.0
>            Reporter: Zhaozhi QIan
>            Priority: Minor
>              Labels: beginner, starter
>
> The example org.apache.beam.examples.cookbook.TriggerExample failed to run on Dataflow. Big query returns failure code 409 indicating it's trying to write to an non-empty table but WriteDisposition is set to WRITE_EMPTY (the default value). The example fails with this error even if the output table does not exist before the example is run. 
> In fact, the four pipelines corresponding to the four trigger types write to the same table. The pipeline that finishes first will create the table and insert data into it. But the remaining ones can only _append_ to that table. Hence, the problem can be avoided by setting WriteDisposition to WRITE_APPEND.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)