Repository navigation
Conversation
|
@nastra @singhpk234 @manuzhang mind taking a look when you get a chance? This adds It sits on top of #17562, so that one is the better starting point if you are reviewing both. |
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions. |
0f8e01e to
11d0bd7
Compare
Summary
Changes
writeDuration(time in row-level write calls) andwriteCloseDuration(time closing writers, where buffered rows flush and files are finished). Nanoseconds.currentMetricsValues()beforecommit(), so the close, which happens insidecommit(), can't be aCustomTaskMetric.total (min, med, max), matchingMetricUtils.stringValueandscanDurationin Spark 4.1: Add per-task scanDuration metric #17562.SparkWrite(append, overwrite, copy-on-write, streaming),SparkPositionDeltaWrite(merge-on-read), andSparkPositionDeletesRewrite(DeleteWriterandDVWriter).Testing done
TestSparkWriteMetrics(7): unpartitioned and partitioned inserts, copy-on-write delete, merge-on-read delete and update, multi-task aggregation.TestRewritePositionDeleteFilesMetrics: rewrite path for v2 (DeleteWriter) and v3 (DVWriter).TestWriteTimerandTestNanoDurationMetric: phase accumulation, timing on throw, rendering, locale independence.TestSparkWriteMetrics.spotlessCheckandcheckstylepass.Notes
spark/v4.1. v4.0 is near-identical and can follow.