This is an automated email from the ASF dual-hosted git repository.
vhs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 17e6dcc04159 fix: address minor compilation issue in getAvroBytes
(#17926)
17e6dcc04159 is described below
commit 17e6dcc04159157ff63e3e38a1ec0ec8323c1f16
Author: Rahil C <[email protected]>
AuthorDate: Sat Jan 17 00:33:43 2026 -0800
fix: address minor compilation issue in getAvroBytes (#17926)
---
.../src/main/java/org/apache/hudi/common/model/HoodieSparkRecord.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/common/model/HoodieSparkRecord.java
b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/common/model/HoodieSparkRecord.java
index 0f4a9a31924c..f6a45f9219d8 100644
---
a/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/common/model/HoodieSparkRecord.java
+++
b/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/common/model/HoodieSparkRecord.java
@@ -334,7 +334,7 @@ public class HoodieSparkRecord extends
HoodieRecord<InternalRow> {
}
StructType structType =
HoodieInternalRowUtils.getCachedSchema(recordSchema);
GenericRecord avroRecord = AvroConversionUtils
- .createInternalRowToAvroConverter(structType,
recordSchema.toAvroSchema(), false)
+ .createInternalRowToAvroConverter(structType, recordSchema, false)
.apply(data);
return HoodieAvroUtils.avroToBytesStream(avroRecord);
}