venkata91 commented on PR #19022: URL: https://github.com/apache/iceberg/pull/19022#issuecomment-7326674515
@gerashegalov thanks, makes sense. I didn't want to wait for #19088 to merge, so I stacked #19022 on top of it. The branch now has the scanDuration commit (021c534b4) under this one. TaskScanDuration goes through inheritedMetrics.addTo(...) in both BatchDataReader and RowDataReader, same as 4.1. Since 3.5 has no merging reader, I added the inherited-case check directly on those two readers in TestSparkReadMetrics (4f2aafed6): pass in 1s of scanDuration through initMetricsValues and check the reported value comes out higher. Once #19088 merges the diff here goes back to just the read metrics change. -- 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]
