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

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

Thank you for your comment about patch [~renato2099] and sorry for the late 
answer.

You've noticed a good point, but as [~martinkl] mentioned in this 
(http://mail-archives.apache.org/mod_mbox/avro-user/201401.mbox/%3CCAHNLEqv%2BmzCJJPR3Y53WHJg-%2BiOOPgj3%3DxBaM0%3D3NGeamuUjsw%40mail.gmail.com%3E)
 thread, "In Avro, types are not nullable by default (unlike most programming 
languages)." So, you have to specify if the field will be null by default. 
Moreover, if a field's default value is not set and the builder pattern is used 
to create a new object, an AvroRuntimeException like "Field .... type: ... pos: 
.. not set and has no default value" will be thrown.

> 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