[
https://issues.apache.org/jira/browse/PARQUET-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evan McClain updated PARQUET-856:
---------------------------------
Attachment: 0001-Do-not-pass-knownClass-if-it-is-abstract-interface.patch
> 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
> Attachments:
> 0001-Do-not-pass-knownClass-if-it-is-abstract-interface.patch
>
>
> 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)