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

GoraCompiler needs to add "import FixedSize" statement for FIXED type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2.1
    • schema
    • None

    Description

      Since GoraCompiler does not write the following import statement:
      import org.apache.avro.specific.FixedSize;
      for FIXED type like:
      { "name": "md5", "type":

      { "type" : "fixed", "size" : 16, "name" : "MD5" }

      },
      javac cannot compile the FIXED type class generated by GoraCompiler like:

      src/MD5.java:24: cannot find symbol
      symbol: class FixedSize
      @FixedSize(16)
      ^

      GoraCompiler should write:
      import org.apache.avro.specific.FixedSize;

      Attachments

        1. GORA-143-v2.patch
          1 kB
          Kazuomi Kashii
        2. GORA-143.patch
          0.8 kB
          Kazuomi Kashii

        Activity

          People

            Unassigned Unassigned
            kazk Kazuomi Kashii
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: