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

Lin Liu commented on HUDI-7081:
-------------------------------

We already did confirmed on corner cases: 1. using java client to generate avro 
logdatablock with enum typed columns; 2. using spark to read the table, and 
show the content; the test went well. 

Therefore, we can conclude this ticket for now. If we find any real failures, 
we can revisit this.

> Hoodie FilegroupReader cannot read Enums from MOR avro log blocks
> -----------------------------------------------------------------
>
>                 Key: HUDI-7081
>                 URL: https://issues.apache.org/jira/browse/HUDI-7081
>             Project: Apache Hudi
>          Issue Type: Sub-task
>            Reporter: Jonathan Vexler
>            Assignee: Lin Liu
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.0.1
>
>
> {code:java}
> buildFileGroupIterator(
>   Option.empty[PartitionedFile => Iterator[InternalRow]],
>   partitionValues,
>   Option.empty[HoodieBaseFile],
>   getLogFilesFromSlice(fileSlice),
>   requiredSchemaWithMandatory,
>   outputSchema,
>   partitionSchema,
>   broadcastedHadoopConf.value.value,
>   -1,
>   -1,
>   shouldUseRecordPosition
> ) {code}
> This only uses StructType schemas and converts to avro. So it thinks enums 
> are strings



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to