Avro
  1. Avro
  2. AVRO-249

in reflection, represent Java short as fixed data

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Doug Cutting created issue -
        Doug Cutting made changes -
        Field Original Value New Value
        Attachment AVRO-249.patch [ 12426850 ]
        Doug Cutting made changes -
        Attachment AVRO-249.patch [ 12426953 ]
        Doug Cutting made changes -
        Attachment AVRO-249.patch [ 12426965 ]
        Doug Cutting made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development