[
https://issues.apache.org/jira/browse/GORA-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526525#comment-13526525
]
Alfonso Nishikawa commented on GORA-174:
----------------------------------------
Hi, Lewis.
Still should not be committed since the inclusion of union is still not fully
supported by HBase nor Cassandra nor Core (different tests problems).
Commiting now will make tests fails, so first have to upload a new patch. Al
this moment I think all tests passes in my local copy but still not executed
all tests at once -takes time-. I am sure there are hidden bugs because I saw
some "switch()" not implementing "case UNION".
I could upload tomorrow morning a patch for this issue passing tests and we
should open another issue to check all related to unions :\ (serializing,
deserializing, setting dirty, etc). I don't vote for closing and submitting
this half patch :\ but if you think it's better to do so and open another
issue, for me is perfect :) -at least issue will be clear-
> 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
> Fix For: 0.3
>
> Attachments: failed_tests_after_v3.tar.gz, GORA-174-test.patch,
> GORA-174v2.patch, GORA-174v3.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