[
https://issues.apache.org/jira/browse/HUDI-8660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Y Ethan Guo updated HUDI-8660:
------------------------------
Description: Spark Avro reader logic treats Avro ENUM type as String when
converted to Spark StructType schema, which is converted back to Avro String
type if it goes through Row to GenericRecord conversion. This is different
from our previous logic where the record is directly read out as Avro
GenericRecord.
> Revisit ENUM handling in Spark parquet reader and writer
> --------------------------------------------------------
>
> Key: HUDI-8660
> URL: https://issues.apache.org/jira/browse/HUDI-8660
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Y Ethan Guo
> Priority: Major
> Fix For: 1.0.1
>
>
> Spark Avro reader logic treats Avro ENUM type as String when converted to
> Spark StructType schema, which is converted back to Avro String type if it
> goes through Row to GenericRecord conversion. This is different from our
> previous logic where the record is directly read out as Avro GenericRecord.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)