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

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

Tobias Feldhaus created BEAM-1714:
-------------------------------------

             Summary: 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: beam-model
    Affects Versions: 0.5.0
            Reporter: Tobias Feldhaus
            Assignee: Frances Perry


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)