Evan McClain created PARQUET-856:
------------------------------------

             Summary: parquet-avro logical type support broke ability to use 
avro reflection with generics.
                 Key: PARQUET-856
                 URL: https://issues.apache.org/jira/browse/PARQUET-856
             Project: Parquet
          Issue Type: Bug
          Components: parquet-avro
    Affects Versions: 1.9.0
            Reporter: Evan McClain
            Priority: Minor


Impacts 1.9.0 and 1.8.2.

Assuming the fieldClass is a concrete class (which it is for all of the logical 
types) is an incorrect assumption when generics are used.

Statistics<T extends Serializable> {
  T field1
  T field2
}

SetStatistics extends Statistics<HashSet<String>> {}

Solution is to check if the fieldClass is abstract/interface/raw object.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to