[ 
https://issues.apache.org/jira/browse/BEAM-7195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213454#comment-17213454
 ] 

Reuven Lax commented on BEAM-7195:
----------------------------------

Some more details:

The bug is that BigQueryIO assumed that Reshuffle would produce pane indices 
like a GroupByKey would. However Reshuffle merely forwards whatever pane 
indices already existed, and in this case those were produced by the previous 
GroupByKey onto a singleton. The PR fixes this by making sure that the prior 
GroupByKey groups by destination instead of by singleton.

> BigQuery - 404 errors for 'table not found' when using dynamic destinations - 
> sometimes, new table fails to get created
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-7195
>                 URL: https://issues.apache.org/jira/browse/BEAM-7195
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>    Affects Versions: 2.5.0
>         Environment: Windows
>            Reporter: Chris
>            Assignee: Guangyu Chen
>            Priority: P1
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> See the following StackOverflow question, which describes the details:
>  
> [https://stackoverflow.com/questions/55932291/apache-beam-for-google-cloud-dataflow-404-errors-when-using-bigqueryio-write-c]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to