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

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

                Author: ASF GitHub Bot
            Created on: 23/Jul/18 14:25
            Start Date: 23/Jul/18 14:25
    Worklog Time Spent: 10m 
      Work Description: lgajowy commented on issue #5341: [BEAM-4257] Increases 
BigQuery streaming error information
URL: https://github.com/apache/beam/pull/5341#issuecomment-407076438
 
 
   Just FYI: Some of the interfaces became package-private (BigQueryService, 
FakeBigQueryService, FakeDatasetService etc). This caused Nexmark suites to 
fail. Luckily, it seems that those classes were used only for testing purposes 
(but outside BigQueryIO module).
   
   Logs for reference: 
https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Java_Nexmark_Direct/112/console
   
   I had trouble to think of a better solution than simply deleting the test, 
because now it seems impossible to test the code in a similar way (please 
correct me if I'm wrong): https://github.com/apache/beam/pull/6018
   
   Maybe it's a good idea to leave at least `BigQueryServices` public so that 
it could be used by `withTestServices()` in other places (like nexmark)? WDYT?
   
   CC: @calonso @reuvenlax 
   
   
   

----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 126040)
    Time Spent: 5h  (was: 4h 50m)

> 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: 5h
>  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)

Reply via email to