You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by nandorKollar <gi...@git.apache.org> on 2017/01/02 11:06:26 UTC

[GitHub] avro pull request #180: AVRO-1954 - Schema.Field.defaultVal() generates: Unk...

GitHub user nandorKollar opened a pull request:

    https://github.com/apache/avro/pull/180

    AVRO-1954 - Schema.Field.defaultVal() generates: Unknown datum type org.apache.avro.JsonProperties$Null

    Added the test cases in the patch attached to AVRO-1954 Jira to TestGenericDatumWriter (since the issue is related to GenericDatumWriter), and modified GenericData to map JsonProperties.NULL_VALUE to Type.NULL

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

    $ git pull https://github.com/nandorKollar/avro AVRO-1954

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

    https://github.com/apache/avro/pull/180.patch

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

    This closes #180
    
----
commit 25635e1fdd66d7275abe7e65e288f3c4ee078d97
Author: Nandor Kollar <nk...@cloudera.com>
Date:   2017-01-02T11:00:34Z

    AVRO-1954 - Schema.Field.defaultVal() generates: Unknown datum type org.apache.avro.JsonProperties$Null

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---