Skip to content

[IcebergIO] Re-enable scheduled IcebergIO performance test - #41456

Merged
ahmedabu98 merged 2 commits into
apache:masterfrom
ahmedabu98:reenable-iceberg-io-perf-test
Nov 18, 2026
Merged

ahmedabu98 merged 2 commits into
apache:masterfrom
ahmedabu98:reenable-iceberg-io-perf-test

Conversation

@ahmedabu98

@ahmedabu98 ahmedabu98 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The IcebergIO performance page has no data: nothing has ever written IcebergIO rows to the public performance_tests.io_performance_metrics table.

IcebergPerformanceTest was 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

  • Add IcebergPerformanceTest back to beam_PostCommit_Java_IO_Performance_Tests.
  • Set fail-fast: false. One failing IO test was cancelling the other three (July 21–27, and again Sept 3–6).
  • 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 → 351).
  • Bump the trigger file so the suite runs on this PR.
  • Give each exported metrics row its own BigQuery insertId in LoadTestBase. With the constant "rowId", BigQuery de-duplicated rows exported within about a minute of each other, so every test's read row has been dropped since v2.78.0. Scheduled runs pick this up with the next release

Testing

  • :it:IcebergPerformanceTest -Dconfiguration=local (DirectRunner) passes on this branch and at v2.78.0, the release scheduled runs use.
  • This PR's trigger-file run covers Dataflow with the large config.

After merge
The graphs still need a manual Looker refresh from master once a scheduled run has written IcebergIO rows.

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.
@github-actions github-actions Bot added build infra size/xs XS: <10 lines changed labels Nov 18, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 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: false in beam_PostCommit_Java_IO_Performance_Tests.yml is a good reliability improvement to prevent independent IO performance tests from cancelling one another.
  • Resolving the duplicate Look ID (270 -> 351) in refresh_looker_metrics.py fixes 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.

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @derrickaw for label build.
Backup reviewer: Abacn (if the main reviewer is unresponsive, you can escalate to them by tagging their username)

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

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.
@github-actions github-actions Bot added size/s S: 10-49 lines changed and removed size/xs XS: <10 lines changed labels Nov 18, 2026
@ahmedabu98
ahmedabu98 merged commit 2fb6c27 into apache:master Nov 18, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants