Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-174

GORA compiler does not handle ["string", "null"] unions in the AVRO schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.2.1
    • 0.4
    • schema
    • None

    Description

      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

      Attachments

        1. GORA-174_over_r1462580.patch
          1 kB
          alfonso.nishikawa
        2. GORA-174.patch
          34 kB
          alfonso.nishikawa
        3. GORA-174.patch
          17 kB
          alfonso.nishikawa
        4. GORA-174.patch
          16 kB
          alfonso.nishikawa
        5. GORA-174.patch
          15 kB
          alfonso.nishikawa
        6. GORA-174-test.patch
          2 kB
          Julien Nioche

        Issue Links

          Activity

            People

              alfonsonishikawa Alfonso Nishikawa Muñumer
              jnioche Julien Nioche
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: