gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-174) GORA compiler does not handle ["string", "null"] unions in the AVRO schema
Date Fri, 03 May 2013 22:10:16 GMT

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

Lewis John McGibbney commented on GORA-174:

Hi Alfonso, I think we've all bee lost in thought. From something seemingly trivial (nutch
avsc) it has snowballed into a rather interesting and technically challenging (for me anyway)
I would like to propose that we  implement ONLY what is necessary to satisfy support for 
["string", "null"] unions. Of course Accumulo, HBase, Cassandra should also support this.
Hence the child issues assigned to this issue.
Everything else over and above the ["string", "null"] unions should be addressed in subsequent
We need to watch that our eyes are not bigger than our stomachs here. I've already made this
problem for lunch today (I got a big pizza... way too much).
Thanks for the dialogue.  
> GORA compiler does not handle ["string", "null"] unions in the AVRO schema
> --------------------------------------------------------------------------
>                 Key: GORA-174
>                 URL: https://issues.apache.org/jira/browse/GORA-174
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 0.2.1
>            Reporter: Julien Nioche
>            Assignee: Alfonso Nishikawa
>            Priority: Blocker
>             Fix For: 0.4
>         Attachments: GORA-174_over_r1462580.patch, GORA-174.patch, GORA-174.patch, GORA-174.patch,
GORA-174.patch, GORA-174-test.patch
> See NUTCH-1477 for description. 
> We are getting NPE when using the DataFileAvroStore, in order to avoid that I modified
the schema to allow for null values on some fields e.g.    {"name": "baseUrl", "type": ["string",
"null"] }
> however when generating the code for the schema the accessors are not generated by GORA
which prevents Nutch from compiling 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message