You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2017/04/05 16:11:41 UTC

[jira] [Commented] (BEAM-1714) Null Pointer Exception when outputting a TableRow with a Null value for a key

    [ https://issues.apache.org/jira/browse/BEAM-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957121#comment-15957121 ] 

Daniel Halperin commented on BEAM-1714:
---------------------------------------

Seems reasonable -- would you be able to send a PR with a new test and a fix?

> Null Pointer Exception when outputting a TableRow with a Null value for a key
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-1714
>                 URL: https://issues.apache.org/jira/browse/BEAM-1714
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>    Affects Versions: 0.5.0
>            Reporter: Tobias Feldhaus
>            Assignee: Daniel Halperin
>              Labels: newbie, starter
>             Fix For: First stable release
>
>
> When outputting a TableRow that has a Null value for a key, a Null Pointer Exception is thrown. In the Dataflow SDK (1.9) this case is handled by outputting NULL for that field.
> I would expect the same behavior from the Beam SDK - since otherwise there is always a lot of Null checking necessary in the user code. (Especially when there are nested fields.)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)