[ https://issues.apache.org/jira/browse/HUDI-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhaojing Yu updated HUDI-3882: ------------------------------ Fix Version/s: 0.13.0 (was: 0.12.1) > Make sure Hudi Spark relations implementations provide similar file-scanning > metrics > ------------------------------------------------------------------------------------ > > Key: HUDI-3882 > URL: https://issues.apache.org/jira/browse/HUDI-3882 > Project: Apache Hudi > Issue Type: Improvement > Reporter: Alexey Kudinkin > Assignee: Alexey Kudinkin > Priority: Critical > Fix For: 0.13.0 > > > After rebasing Hudi's COW table onto `BaseFileOnlyRelation` from > `HadoopFsRelation`, we lost very helpful file-scanning metrics like # of > files scanned, total size of files scanned, etc. > > After some investigation, i've found out that this occurred b/c now instead > of relying on `FileScan` node in Spark plans like we're before, it now uses > `DataScan` node that doesn't provide such metrics. > This unwanted transition occurred b/c Spark internally predicates on > `HadoopFsRelation` to decide whether it's a `FileScan` or `DataScan`, and > since we stopped using `HadoopFsRelation` Hudi relations now fall into the > latter bucket -- This message was sent by Atlassian Jira (v8.20.10#820010)