Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Done
-
None
Description
In current spark query implementation, the FileIndex will refresh and load all file groups in cached in order to serve subsequent queries.
For large table with many partitions, this may introduce much overhead in initialization. Meanwhile, the query itself may come with partition filter. So the loading of file groups will be unnecessary.
So to optimize, the whole refresh logic will become lazy, where actual work will be carried out only after the partition filter.
Attachments
Issue Links
- fixes
-
HUDI-3717 Avoid double-listing w/in BaseHoodieTableFileIndex
- Closed
- links to