You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/14 05:15:00 UTC

[jira] (BEAM-12835) BigQueryIO.readTableRows() throws NullPointerException

    [ https://issues.apache.org/jira/browse/BEAM-12835 ]


    Kenneth Knowles deleted comment on BEAM-12835:
    ----------------------------------------

was (Author: beamjirabot):
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.


> 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.31.0, 2.32.0
>            Reporter: Francesco Galiano
>            Priority: P2
>
> 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'm still facing the issue.
>  
> Please solve this bug and/or help me to find a solution.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)