Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Feb 3, 2026

Does this PR closes an open issue or discussion?

  • Closes #.

What changes are included in this PR?

The main change in this PR is the introduction of the vortex-sqllogictest crate (not intended for publication), which introduces a new way of writing tests by defining slt scripts that are run by both DuckDB and DataFusion.

It includes one very small test which we can keep building upon.

It also includes a few changes to vortex-duckdb to facilitate exposing the information.

What is the rationale for this change?

We often rely on our benchmarks to test some codepaths that we can't successfully trigger from traditional tests, this tool allows us to minimize those cases more effectively and in a reproducible way.

It also helps us make sure that we produce the same data on different integrations, and that we're aligned with their Parquet implementation, at least to the degree that the tools themselves provide the same semantics.

How is this change tested?

It adds a downstream test.

Are there any user-facing changes?

Adds some minor functionality to vortex-duckdb, which is a private crate.

@AdamGS AdamGS added the feature A feature request label Feb 3, 2026
@AdamGS AdamGS force-pushed the adamg/sqllogictest-runner branch 2 times, most recently from 7b6bccf to 9dd8b48 Compare February 3, 2026 14:18
@AdamGS AdamGS added changelog/feature A new feature and removed feature A feature request labels Feb 3, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 3, 2026

Merging this PR will not alter performance

✅ 1135 untouched benchmarks
⏩ 1268 skipped benchmarks1


Comparing adamg/sqllogictest-runner (81c61f9) with develop (8d67a1b)

Open in CodSpeed

Footnotes

  1. 1268 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@AdamGS AdamGS force-pushed the adamg/sqllogictest-runner branch from 0d43c0b to f2f1fae Compare February 9, 2026 14:14
@AdamGS AdamGS changed the title [WIP] sqllogictest runner for DF and DuckDB on Vortex sqllogictest runner for DF and DuckDB on Vortex Feb 11, 2026
@AdamGS AdamGS force-pushed the adamg/sqllogictest-runner branch 2 times, most recently from 7ea17b1 to a1ba848 Compare February 11, 2026 16:43
Signed-off-by: Adam Gutglick <[email protected]>
@AdamGS AdamGS force-pushed the adamg/sqllogictest-runner branch from a1ba848 to e609774 Compare February 11, 2026 16:44
@AdamGS AdamGS marked this pull request as ready for review February 11, 2026 16:44
pub fn try_new(pb: ProgressBar) -> Result<Self, DuckDBTestError> {
let dir = tempdir().map_err(|e| DuckDBTestError::Other(e.to_string()))?;
let config = Config::new()?;
let db = Database::open_with_config(dir.path().join("duckdb.db"), config)?;
Copy link
Contributor

Choose a reason for hiding this comment

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

why not use in-mem?

}),
})
}
fn normalize_column_type(dtype: LogicalType) -> DFColumnType {
Copy link
Contributor

Choose a reason for hiding this comment

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

explain this

Copy link
Contributor

@joseph-isaacs joseph-isaacs left a comment

Choose a reason for hiding this comment

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

lg, I really think we should handle clean up ASAP

Signed-off-by: Adam Gutglick <[email protected]>
Signed-off-by: Adam Gutglick <[email protected]>
@AdamGS AdamGS enabled auto-merge (squash) February 11, 2026 17:33
Signed-off-by: Adam Gutglick <[email protected]>
.build()?
.block_on(run_all())?;
Ok(())
}
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason not to use the macro?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not that I can remember

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

Signed-off-by: Adam Gutglick <[email protected]>
@AdamGS AdamGS disabled auto-merge February 11, 2026 17:49
Signed-off-by: Adam Gutglick <[email protected]>
@AdamGS
Copy link
Contributor Author

AdamGS commented Feb 11, 2026

to address @joseph-isaacs comment from before, I've added examples/readme about how to use temp directories for storage.

@AdamGS AdamGS enabled auto-merge (squash) February 11, 2026 17:56
@AdamGS AdamGS merged commit 39425ae into develop Feb 11, 2026
46 of 47 checks passed
@AdamGS AdamGS deleted the adamg/sqllogictest-runner branch February 11, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants