Skip to content

ci: use tpchgen-cli 4.x parquet subcommand - #1832

Open
andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:ci-tpchgen-cli-4
Open

andygrove wants to merge 1 commit into
apache:mainfrom
andygrove:ci-tpchgen-cli-4

Conversation

@andygrove

Copy link
Copy Markdown
Member

Which issue does this PR close?

N/A. Found while testing the DataFusion 56 upgrade (#1826).

Rationale for this change

tpchgen-cli 4.0.0 (released 2026-10-19) moved the output format to a subcommand and removed the --format flag. The test workflow installs tpchgen-cli unpinned and runs tpchgen-cli -s 1 --format=parquet, which now fails:

error: unexpected argument '--format' found

No abi3 test job has reached this step since that release. On #1826 it was skipped only because an earlier step failed, so it goes red as soon as that is fixed, and the same applies to any other PR.

What changes are included in this PR?

In .github/workflows/test.yml:

  • tpchgen-cli -s 1 --format=parquet becomes tpchgen-cli parquet -s 1.
  • The install is pinned to tpchgen-cli>=4,<5, so a future major release can't break the step without a deliberate bump.

The 4.x default output (one <table>.parquet per table in the current directory) is the same layout examples/tpch reads. I checked this locally: data generated with tpchgen-cli parquet -s 1 passes all 22 TPC-H tests (pytest examples/tpch/_tests.py).

Are there any user-facing changes?

No. CI only.

🤖 Generated with Claude Code

tpchgen-cli 4.0.0 moved the output format to a subcommand and removed
the --format flag, so the unpinned install made `tpchgen-cli -s 1
--format=parquet` fail with "unexpected argument '--format'". Use
`tpchgen-cli parquet -s 1` and pin to 4.x so a future major release
cannot break the TPC-H step silently.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant