parthchandra opened a new pull request, #45505: URL: https://github.com/apache/spark/pull/45505
### What changes were proposed in this pull request? Provides a new interface `CustomFileTaskMetric` that extends the `CustomTaskMetric` and allows updating of values. ### Why are the changes needed? The current interface to provide custom metrics does not work for adding file based metrics for the parquet reader where a single `FilePartitionReader` may need to collect metrics from multiple parquet file readers ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? This is just adding the interface. The implementation and tests will be done in a follow up PR that addresses https://issues.apache.org/jira/browse/SPARK-47291 ### Was this patch authored or co-authored using generative AI tooling? No -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
