Repository navigation
[IcebergIO] Re-enable scheduled IcebergIO performance test - #41456
Conversation
IcebergPerformanceTest was dropped from the IO performance matrix in apache#39502 because scheduled runs check out the latest release, which did not contain :it:iceberg yet. v2.76.0 and later include it, so add it back. Without it, nothing writes IcebergIO metrics to the public table behind https://beam.apache.org/performance/icebergio/. Also: - Set fail-fast: false so one failing IO test no longer cancels the others. - Bump it/iceberg to Iceberg 1.12.0 to match sdks/java/io/iceberg. - Fix the Table Row Inference look ID in refresh_looker_metrics.py (270 is a PyTorch sentiment look; the tablerowinference page expects 351). - Bump the trigger file so the suite runs on this PR.
There was a problem hiding this comment.
📋 Review Summary
This PR re-enables the scheduled IcebergPerformanceTest in the Java IO performance test workflow now that :it:iceberg is present in released versions, sets fail-fast: false on the test matrix, aligns the Iceberg version in :it:iceberg to 1.12.0, and fixes a duplicate Looker look ID in refresh_looker_metrics.py. The changes are clean, well-scoped, and ready to merge.
🔍 General Feedback
- Setting
fail-fast: falseinbeam_PostCommit_Java_IO_Performance_Tests.ymlis a good reliability improvement to prevent independent IO performance tests from cancelling one another. - Resolving the duplicate Look ID (
270->351) inrefresh_looker_metrics.pyfixes an existing copy-paste bug for the Table Row Inference Sklearn Batch metrics.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
|
Assigning reviewers: R: @derrickaw for label build. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
LoadTestBase exported every metrics row with the insertId "rowId". BigQuery de-duplicates rows that reuse an insertId within about a minute, so when two exports land close together, one of them is silently dropped. Since apache#40223 replaced the fixed 4-minute sleep with polling, a test's write and read rows are exported seconds apart, and the read row is lost on every run.
The IcebergIO performance page has no data: nothing has ever written IcebergIO rows to the public
performance_tests.io_performance_metricstable.IcebergPerformanceTestwas added in #39270, then removed from the scheduled matrix in #39502 "until next release". Scheduled runs check out the latest release, and v2.75.0 didn't have:it:iceberg. Every release since v2.76.0 includes it, but it was never added back.Changes
IcebergPerformanceTestback tobeam_PostCommit_Java_IO_Performance_Tests.fail-fast: false. One failing IO test was cancelling the other three (July 21–27, and again Sept 3–6).it/icebergto Iceberg 1.12.0 to matchsdks/java/io/iceberg.refresh_looker_metrics.py(270 → 351).Testing
:it:IcebergPerformanceTest -Dconfiguration=local(DirectRunner) passes on this branch and at v2.78.0, the release scheduled runs use.largeconfig.After merge
The graphs still need a manual Looker refresh from master once a scheduled run has written IcebergIO rows.