You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Francesco Galiano (Jira)" <ji...@apache.org> on 2021/09/02 14:39:00 UTC
[jira] [Created] (BEAM-12835) BigQueryIO.readTableRows() throws
NullPointerException
Francesco Galiano created BEAM-12835:
----------------------------------------
Summary: BigQueryIO.readTableRows() throws NullPointerException
Key: BEAM-12835
URL: https://issues.apache.org/jira/browse/BEAM-12835
Project: Beam
Issue Type: Bug
Components: io-go-gcp
Affects Versions: 2.32.0, 2.31.0
Reporter: Francesco Galiano
I tried different methods to extract table content using *BigQueryIO* but in all scenarios, when I try to use *DataflowRunner* I always get the same *NullPointerException*.
The reason I found for this error is that while reading the table, *if there are any null values it ignore them without setting the null value*.
PCollection<TableRow> tableRows = p.apply("ReadFromBQ",
BigQueryIO
._readTableRows_()
.from(project:dataset.table)
);
The only thing it worked was using DirectRunner with ._readTableRowsWithSchema_() but using DataflowRunner I still facing the issue.
Please solve this bug and/or help me to find a solution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)