You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Jonathan Vexler (Jira)" <ji...@apache.org> on 2023/11/10 21:31:00 UTC

[jira] [Created] (HUDI-7081) Hoodie FilegroupReader cannot read Enums from MOR avro log blocks

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)