Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-249

in reflection, represent Java short as fixed data

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently the Java reflect API treats shorts as ints. This fails however to naturally handle shorts in arrays and other containers. It would be better if we used a distinct type for reflected Java short values.

        Attachments

        1. AVRO-249.patch
          7 kB
          Doug Cutting
        2. AVRO-249.patch
          6 kB
          Doug Cutting
        3. AVRO-249.patch
          5 kB
          Doug Cutting

          Activity

            People

            • Assignee:
              cutting Doug Cutting
              Reporter:
              cutting Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: