You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Y Ethan Guo (Jira)" <ji...@apache.org> on 2025/04/30 22:45:00 UTC

[jira] [Created] (HUDI-9357) Revisit table object usage in readRecordKeysFromFileSliceSnapshot for record-level index

Y Ethan Guo created HUDI-9357:
---------------------------------

             Summary: Revisit table object usage in readRecordKeysFromFileSliceSnapshot for record-level index
                 Key: HUDI-9357
                 URL: https://issues.apache.org/jira/browse/HUDI-9357
             Project: Apache Hudi
          Issue Type: Sub-task
            Reporter: Y Ethan Guo


The table object instantiation can be heavy and it is used by record index only in the following method.  We should revisit to see if this can be improved.
{code:java}
private static HoodieData<HoodieRecord> readRecordKeysFromFileSliceSnapshot(HoodieEngineContext engineContext,
                                                                            List<Pair<String, FileSlice>> partitionFileSlicePairs,
                                                                            int recordIndexMaxParallelism,
                                                                            String activeModule,
                                                                            HoodieTableMetaClient metaClient,
                                                                            HoodieWriteConfig dataWriteConfig,
                                                                            HoodieTable hoodieTable) {code}



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