Jonathan Vexler created HUDI-7081:
-------------------------------------

             Summary: 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: Bug
            Reporter: Jonathan Vexler


{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