[ 
https://issues.apache.org/jira/browse/HUDI-8660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951045#comment-17951045
 ] 

Lin Liu commented on HUDI-8660:
-------------------------------

Where does it translate ROW to GenericRecord? 

Can we use the original AVRO schema? If not, why?

> 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: Sub-task
>            Reporter: Y Ethan Guo
>            Assignee: Lin Liu
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> 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)

Reply via email to