gerashegalov commented on PR #17562: URL: https://github.com/apache/iceberg/pull/17562#issuecomment-7120036716
Thanks @venkata91! I checked #19088 and #19089 against this PR and #18751. The BaseReader timing matches on all four Spark versions. Howerer, on 4.1, scanDuration is this PR plus #18726, the fix for the issue raised in https://github.com/apache/iceberg/pull/17562#discussion_r4379002870. Spark 3.5 and 4.0 still call initMetricsValues from DataSourceRDD. So with #19088/#19089 on their own, scanDuration counts only the last reader in each task. Meanwhile, the #18726 backports (#19022 for 3.5, #18775 for 4.0) leave scanDuration out, because those versions don't have it yet. It would be great if #19088/#19089 are merged first, then rebase #19022/#18775 so TaskScanDuration goes through inheritedMetrics.addTo(...), as in 4.1? It would also help to add a scanDuration check for the inherited case. Right now only the 4.1 TestMergingSortedRowDataReader covers it, and 3.5 has no merging reader. Minor: #18726 also added scanDuration to MergingSortedRowDataReader, but 4.2 (and 4.0 after #18775) doesn't have that. Nothing calls that reader yet, so a small 4.2 parity change would be enough. -- 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]
