You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by da...@apache.org on 2026/10/13 05:32:31 UTC

(hudi) branch master updated: perf(core): avoid copying table properties for each native log file (#20297)

This is an automated email from the ASF dual-hosted git repository.

danny0405 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 0202ca7e24c1 perf(core): avoid copying table properties for each native log file (#20297)
0202ca7e24c1 is described below

commit 0202ca7e24c1662ece6ea4b7400168bac7d5dee7
Author: Danny Chan <yu...@gmail.com>
AuthorDate: Tue Oct 13 13:32:24 2026 +0800

    perf(core): avoid copying table properties for each native log file (#20297)
    
    * perf(core): avoid copying table properties for each native log file
---
 .../java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java b/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java
index 3a1cfe6ca2d6..92b9df43cd9e 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatReader.java
@@ -18,7 +18,6 @@
 
 package org.apache.hudi.common.table.log;
 
-import org.apache.hudi.common.config.TypedProperties;
 import org.apache.hudi.common.fs.FSUtils;
 import org.apache.hudi.common.model.HoodieLogFile;
 import org.apache.hudi.common.schema.HoodieSchema;
@@ -144,7 +143,7 @@ public class HoodieLogFormatReader implements HoodieLogFormat.Reader {
           HoodieRecordUtils.getOrderingFieldNames(tableConfig.getRecordMergeMode(), tableConfig);
       return new HoodieNativeLogFileReader(storage, logFile, readerSchema, internalSchema,
           orderingFieldNames,
-          getRelativePartitionPath(logFile), TypedProperties.copy(tableConfig.getProps()));
+          getRelativePartitionPath(logFile), tableConfig.getProps());
     }
     return new HoodieLogFileReader(storage, logFile, readerSchema, bufferSize, reverseLogReader,
         enableInlineReading, recordKeyField, internalSchema);