Skip to content

Run the ADBC contract tests against database servers in CI - #259

Merged
alxmrs merged 1 commit into
adbc-adapterfrom
adbc-ci-databases
Sep 27, 2026
Merged

alxmrs merged 1 commit into
adbc-adapterfrom
adbc-ci-databases

Conversation

@alxmrs

@alxmrs alxmrs commented Sep 27, 2026

Copy link
Copy Markdown
Member

Draft, opened early so you can follow along. Stacked on #255. I'm iterating on this in CI, since it covers databases this machine can't run.

Goal

#255's ADBC contract suite runs one set of tests (round-trips with exact dtypes and missing values, every ingest mode, temporary tables, mixed-dimension naming, timedelta coordinates, the chunked round-trip) against every backend it can reach. In the main CI job that's the in-process ones: SQLite, DuckDB, chDB and DataFusion. This PR adds a workflow that starts real servers as GitHub Actions service containers:

  • PostgreSQL 18
  • MySQL 8.4
  • MariaDB 11.4
  • ClickHouse 26.8
  • Trino 483 (memory catalog)
  • SQL Server 2022: new to the suite. I couldn't run it locally (no container runtime here), so its dialect handling gets worked out here.

It triggers on PRs that touch the ADBC adapter or the round-trip code, on pushes to main, and by hand.

Status

  • First run
  • SQL Server dialect (known in advance: T-SQL has no CREATE SCHEMA IF NOT EXISTS)

🤖 Generated with Claude Code

https://claude.ai/code/session_01AMTHTEAoyKzUJLvFmg5G6t

PostgreSQL, MySQL, MariaDB, ClickHouse, Trino, and SQL Server as
service containers, with their ADBC drivers installed by dbc. SQL
Server joins the contract suite here; it could not be run locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AMTHTEAoyKzUJLvFmg5G6t
@alxmrs
alxmrs merged commit 2067d87 into adbc-adapter Sep 27, 2026
2 of 3 checks passed
@alxmrs
alxmrs deleted the adbc-ci-databases branch September 27, 2026 01:59
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