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/06/03 23:36:32 UTC
[GitHub] [beam] kennknowles opened a new issue, #19283: NPE in BigQuery client library in StreamingBuffer.toPb
kennknowles opened a new issue, #19283:
URL: https://github.com/apache/beam/issues/19283
Sometimes I see the following NPE in my streaming pipeline:
```
Caused by: java.lang.NullPointerException com.google.cloud.bigquery.StandardTableDefinition$StreamingBuffer.toPb(StandardTableDefinition.java:106)
com.google.cloud.bigquery.StandardTableDefinition.toPb(StandardTableDefinition.java:230) com.google.cloud.bigquery.TableInfo.toPb(TableInfo.java:453)
com.google.cloud.bigquery.BigQueryImpl.update(BigQueryImpl.java:383) com.google.cloud.bigquery.Table.update(Table.java:212)
com.heysphere.nosegment.dofn.TableRowSchemaMutatorFn.processElement(TableRowSchemaMutatorFn.java:132)
```
It happens extremely rarely and I'm not sure what can cause it. To add a bit more context, the pipeline performs `Table.update` when it handles failed inserts from BigQueryIO and detects that the problem can be fixed by adding missing columns (sort of like https://github.com/ryanmcdowell/dataflow-dynamic-schema )
Somewhat reminds BEAM-6076
Imported from Jira [BEAM-6434](https://issues.apache.org/jira/browse/BEAM-6434). Original Jira may contain additional context.
Reported by: dkruchinin.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org