You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/15 07:50:19 UTC

[GitHub] [beam] vbshnsk commented on issue #22642: [Bug]: Dataflow fails to drain a job when using BigQuery (java sdk v.2.38)

vbshnsk commented on issue #22642:
URL: https://github.com/apache/beam/issues/22642#issuecomment-1214720271

   Bump.
   
   Also, this is our BigQueryIO config:
   ```
   BigQueryIO
               .write<T>()
               .to(dynamicDestination)
               .withCreateDisposition(BigQueryIO.Write.CreateDisposition.CREATE_IF_NEEDED)
               .withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND)
               .withoutValidation()
               .withFormatFunction(formatFunction)
               .optimizedWrites()
               .withFailedInsertRetryPolicy(InsertRetryPolicy.retryTransientErrors())
               .withSchemaUpdateOptions(
                   setOf(
                       BigQueryIO.Write.SchemaUpdateOption.ALLOW_FIELD_ADDITION,
                       BigQueryIO.Write.SchemaUpdateOption.ALLOW_FIELD_RELAXATION
                   )
               )
               .withMethod(BigQueryIO.Write.Method.STORAGE_WRITE_API)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org