Repository navigation
test: cut duplicated work in the slowest integration tests - #793
Merged
Merged
Conversation
javaCutsTheChunksJniCuts and jniReadsTheJavaChunksAsItsOwn wrote the same pair of files (vortex-jni's and Java's, 240,000 nested rows) for each of the 7 columns: the writes, most of the class's time, ran twice. The pair is now written once per class and shared; the two tests keep their separate failure signals. 17.5 s -> 12.2-13.0 s, sequential. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The taxi oracle test meant to prove the Parquet importer keeps every value, but went through two 3M-line CSV files: hardwood wrote one, CsvExporter wrote the other from the imported Vortex file, and the two were diffed. It now walks hardwood's Parquet rows and VortexReader's chunks in step and compares each cell directly: integers, booleans and strings by value, floats bit for bit, nulls as nulls. No CSV files, no export leg (CsvExporter has its own unit, integration and load tests). 8.3-8.9 s -> 5.3-5.4 s, sequential; a deliberately broken comparison fails at row 0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
dfa1
force-pushed
the
test/merge-duplicate-integration-work
branch
from
November 30, 2026 06:48
278eee2 to
e742d8f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits, each cutting work a slow integration class repeated. Timings are sequential runs on the same machine, two each.
NestedRepartitionInteropIntegrationTestTaxiParquetOracleVsJavaIntegrationTestVortexReader's cells directly (nulls as nulls, floats bit for bit). No CSV files and no export leg;CsvExporterhas its own unit, integration and load tests. A deliberately broken comparison fails at row 0.🤖 Generated with Claude Code