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

Alparslan Avcı commented on GORA-94:
------------------------------------

And also about my patch, in order to get NULL value as default for a 'map' type 
field, 

"type":  ["null", {"type":"map", "values":"string"}], "default":null

has to be used as type in .avsc definition. And in order to get 'empty map 
object' as default for a 'map' type field;

"type": {"type":"map", "values":"string"}, "default":{}}

has to be used.

> Upgrade to Apache Avro 1.7.x
> ----------------------------
>
>                 Key: GORA-94
>                 URL: https://issues.apache.org/jira/browse/GORA-94
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: build process, storage
>    Affects Versions: 0.2
>            Reporter: Lewis John McGibbney
>            Assignee: Ed Kohlwey
>             Fix For: 0.4
>
>         Attachments: GORA-94-v2.patch, GORA-94-v3.patch, GORA-94-v4.patch, 
> GORA-94.patch, GORA-94v10.patch, GORA-94v6.diff, GORA-94v7.patch, 
> GORA-94v8.patch, GORA-94v9.patch, GORA_94v5.patch
>
>
> I am not sure what this involves as of yet but I have a small feeling that 
> it's going to be some reasonably major work...  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to