Skip to content

test: restore the TPC-H suite’s 2 GiB off-heap budget - #5904

Open
ErikBPF wants to merge 3 commits into
apache:mainfrom
ErikBPF:investigate/5704-memory
Open

test: restore the TPC-H suite’s 2 GiB off-heap budget#5904
ErikBPF wants to merge 3 commits into
apache:mainfrom
ErikBPF:investigate/5704-memory

Conversation

@ErikBPF

@ErikBPF ErikBPF commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Related to #5704. This restores the previous suite setting; it does not
establish whether other workloads have changed memory requirements.

Rationale for this change

The SF1 TPC-H suite passes on current main with the original 2 GiB off-heap
budget, so the increase to 4 GiB is no longer needed for this configuration.

What changes are included in this PR?

Restore MEMORY_OFFHEAP_SIZE from 4g to 2g in CometTPCHQuerySuite.
Query plans, data generation, and expected results are unchanged.

How are these changes tested?

On base f69c4c81b9429e327ea95658530ae4ed4ed19635, Spark 4.1.3 / Scala
2.13.17 / JDK 17, the complete suite passed against repository-generated
SF1 Parquet with one partition per table, with both debug and release
native libraries: 22 tests, 66 query/join combinations, zero ignored.

SPARK_TPCH_DATA=/path/to/sf1_parquet ./mvnw -B -Prelease test \
  -Dtest=none -Dsuites=org.apache.spark.sql.CometTPCHQuerySuite

This is a suite-budget check, not a historical performance or memory
benchmark. Other Spark versions and the original DataFusion upgrade commit
were not measured.

Current SF1 queries pass with the original budget in both native build profiles, so the 4 GiB increase is no longer needed for this suite.

Refs apache#5704
@github-actions github-actions Bot added enhancement New feature or request test Testing related labels Sep 13, 2026

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @ErikBPF

@andygrove
andygrove added this pull request to the merge queue Sep 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 14, 2026
@andygrove andygrove added the run-benchmark-check Run the benchmark compile and lint check on this pull request instead of waiting for the merge queue label Sep 14, 2026
@andygrove
andygrove enabled auto-merge September 14, 2026 13:56
@andygrove

Copy link
Copy Markdown
Member

Merge failed due to flakey test (fix is in #5919). Trying again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request run-benchmark-check Run the benchmark compile and lint check on this pull request instead of waiting for the merge queue test Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants