[ https://issues.apache.org/jira/browse/GORA-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500595#comment-13500595 ]
Julien Nioche commented on GORA-174: ------------------------------------ I just took a fresh copy from the GIT repo, applied the patch GORA-174-test.patch, cd gora-core and called 'mvn clean test' and I getting Failed tests: testQuery(org.apache.gora.avro.store.TestAvroStore): expected:<0> but was:<10> testQueryBinaryEncoder(org.apache.gora.avro.store.TestAvroStore): expected:<0> but was:<10> testQuery(org.apache.gora.avro.store.TestDataFileAvroStore): expected:<0> but was:<10> testQueryBinaryEncoder(org.apache.gora.avro.store.TestDataFileAvroStore): expected:<0> but was:<10> Tests in error: testCountQuery(org.apache.gora.avro.mapreduce.TestDataFileAvroStoreMapReduce) Running the tests without applying the patch GORA-174-test.patch works fine. > 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: GORA-174.patch, GORA-174-test.patch, > patch-tests_applied.out.tgz > > > 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