Roshan1299 commented on issue #20632: URL: https://github.com/apache/hudi/issues/20632#issuecomment-7031345071
Update: passing the split's log file size in `HudiUtil.convertToFileSlice` removes the size lookups in `FSUtils.getFileSize` (from `getContentLocation`, `readRecordsFromBlockPayload` and `readBufferedRecordsToDelete`). On the `deletes_mor` test table (one native data log and one native delete log), a `_rt` scan goes from 7 to 3 `getPathInfo` calls on log files, each being `directoryExists` + `exists` + `lastModified`. I added a file-operations test that checks those counts. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
