You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: use 'trino' (not 'java') consistently for the Trino TPC-DS port
'java' is ambiguous — there may be multiple Java TPC-DS implementations.
The reference we target is specifically the Trino library, so name
everything after it for clarity:
- tests/fixtures/scale-N-java/ -> tests/fixtures/scale-N-trino/
- scripts/bootstrap-java.sh -> scripts/bootstrap-trino.sh
- TPCDS_JAVA_REPO env var -> TPCDS_TRINO_REPO
- JAVA_DIR / JAVA_REPO_URL vars -> TRINO_DIR / TRINO_REPO_URL
- find_java_jar / clone_java_repo / build_java / test_java
-> find_trino_jar / clone_trino_repo / build_trino / test_trino
- CI artifact `test-fixtures-java` -> `test-fixtures-trino`
- "Java fixture" log labels -> "Trino fixture"
- Doc references throughout READMEs and script headers updated.
Kept as-is: `actions/setup-java@v5`, `Java 11+` requirement, `java -jar`
/ `java -version` invocations, and `mvn`/`openjdk` references — those
refer to the Java language/runtime, not the Trino implementation.
The CLI flag and Rust `CompatMode::Trino` were already named `trino`;
this commit aligns the rest of the codebase.
Verified: `./scripts/test-all-tables.sh` passes 24/24 vs Trino, and
`./scripts/test-all-tables.sh --compat c` passes 23/23 vs C dsdgen
(customer.dat still skipped pending alamb/tpcds-data regeneration).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|`bootstrap-java.sh`| Clone and build the Java / Trino reference implementation into `../tpcds/`. Run once before Java conformance. |
97
-
|`generate-fixtures.sh`| Populate `tests/fixtures/scale-N-{java,c}/` with reference data. `--compat trino` (default) runs the Java impl; `--compat c` downloads pre-generated C `dsdgen` data from [alamb/tpcds-data](https://github.com/alamb/tpcds-data). |
96
+
|`bootstrap-trino.sh`| Clone and build the Java / Trino reference implementation into `../tpcds/`. Run once before Java conformance. |
97
+
|`generate-fixtures.sh`| Populate `tests/fixtures/scale-N-{trino,c}/` with reference data. `--compat trino` (default) runs the Java impl; `--compat c` downloads pre-generated C `dsdgen` data from [alamb/tpcds-data](https://github.com/alamb/tpcds-data). |
98
98
|`compare-table.sh`| Compare one table's Rust output against the selected reference (`--compat trino` or `--compat c`) via MD5 + diff. |
99
99
|`test-all-tables.sh`| Run the full conformance suite for one compat mode (the main CI entry point). Honors per-mode skip lists at the top of the script. |
100
100
|`clean-fixtures.sh`| Remove all generated fixtures under `tests/fixtures/`. |
@@ -134,7 +134,7 @@ Run any script with `--help` to print its usage block.
134
134
135
135
## Requirements
136
136
137
-
-**Java:** Maven-built TPC-DS JAR at `../tpcds/target/tpcds-*-jar-with-dependencies.jar` (`bootstrap-java.sh` handles this).
137
+
-**Java:** Maven-built TPC-DS JAR at `../tpcds/target/tpcds-*-jar-with-dependencies.jar` (`bootstrap-trino.sh` handles this).
138
138
-**C dsdgen reference:**`git`, `tar`, `bzip2` for `generate-fixtures.sh --compat c`. No C compiler required — data is pre-generated.
139
139
-**Rust:** Cargo-built `tpcdsgen` binary at `target/debug/tpcdsgen` or `target/release/tpcdsgen`.
140
140
-**Disk space:**~1 GB for SF1 Java fixtures; ~2.4 GB for SF1 C fixtures.
@@ -178,7 +178,7 @@ These scripts are designed to be CI-friendly:
0 commit comments