beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-502) Properly handle None/null in json conversions
Date Tue, 02 Aug 2016 06:29:20 GMT


ASF GitHub Bot commented on BEAM-502:

GitHub user chamikaramj opened a pull request:

    [BEAM-502] Updates JSON to/from Python object conversion to handle null/None values.

    Updates Python object to JSON conversion to handle 'None' values.
    Updates JSON to Python object conversion to return 'None' for JSON null objects instead
of '[]'.

You can merge this pull request into a Git repository by running:

    $ git pull json_handle_null

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #765
commit 3a4f2234e36791fd64125d67dbedaebbc2a981b1
Author: Chamikara Jayalath <>
Date:   2016-08-02T06:12:10Z

    Updates json to/from Python object  conversion to properly handle None values.


> Properly handle None/null in json conversions
> ---------------------------------------------
>                 Key: BEAM-502
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Chamikara Jayalath
>            Assignee: Chamikara Jayalath
>  has to be updated to properly handle JSON to/from Python 'None' conversions.
> For example, currently writing a dictionary of the form {'aa': 'value', 'bb':None} using
BigQuery sink fails when using DirectPipelineRunner since we do not properly handle 'None'

This message was sent by Atlassian JIRA

View raw message