You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/11 18:32:00 UTC

[jira] [Work logged] (BEAM-4257) Add error reason and table destination to BigQueryIO streaming failed inserts

     [ https://issues.apache.org/jira/browse/BEAM-4257?focusedWorklogId=101259&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-101259 ]

ASF GitHub Bot logged work on BEAM-4257:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/May/18 18:31
            Start Date: 11/May/18 18:31
    Worklog Time Spent: 10m 
      Work Description: calonso opened a new pull request #5341: [BEAM-4257] Increases BigQuery streaming error information
URL: https://github.com/apache/beam/pull/5341
 
 
   This PR introduces a new `BigQueryInsertError` class to return for each particular row that could not be successfully inserted to help on callers troubleshooting failures.
   
   `BigQueryInsertError`'s objects contain: 
   * The `TableRow` that could not be inserted
   * The `InsertErrors` that were generated
   * The `TableReference` where the `TableRow` was going.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 101259)
            Time Spent: 10m
    Remaining Estimate: 0h

> Add error reason and table destination to BigQueryIO streaming failed inserts
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-4257
>                 URL: https://issues.apache.org/jira/browse/BEAM-4257
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Carlos Alonso
>            Assignee: Carlos Alonso
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When using `BigQueryIO.Write` and getting `WriteResult.getFailedInserts()` we get a `PCollection<TableRow>` which is fine, but in order to properly work on the errors downstream having extended information such as the `InsertError` fields and the `TableReference` it was routed to would be really valuable.
>  
> My suggestion is to create a new object that contains all that information and return a `PCollection` of those instead.



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