Skip to content

CI: ADBC coverage#76

Merged
nicosuave merged 2 commits intomainfrom
adbc-ci
Feb 3, 2026
Merged

CI: ADBC coverage#76
nicosuave merged 2 commits intomainfrom
adbc-ci

Conversation

@nicosuave
Copy link
Member

Adds ClickHouse ADBC dialect + URL support.

Runs ADBC unit coverage (URL parsing/dialect mapping) in default pytest runs.

Adds ADBC integration smoke matrix over postgres/bigquery/snowflake/clickhouse; installs drivers best-effort and skips when no working ADBC driver is available.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11627ccd7c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +120 to +122
def test_adbc_smoke_basic_execute(adbc_layer: SemanticLayer) -> None:
result = adbc_layer.adapter.execute("SELECT 1 as x, 2 as y")
assert result.fetchone() == (1, 2)

Choose a reason for hiding this comment

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

P1 Badge Skip when ADBC query fails for unreachable Snowflake

The CI matrix includes a Snowflake run but there’s no Snowflake service configured; _target_uri() hardcodes a dummy Snowflake URL, and the fixture only skips when ADBCAdapter initialization fails. Many ADBC drivers connect lazily, so execute("SELECT 1 as x, 2 as y") can be the first point of failure, which will raise and fail the test instead of skipping. This makes the “best‑effort” smoke job flaky or consistently failing whenever adbc_driver_snowflake installs successfully. Consider probing the connection in the fixture (and pytest.skip on failure) to keep the job best‑effort as intended.

Useful? React with 👍 / 👎.

@nicosuave nicosuave changed the title CI: best-effort ADBC coverage CI: ADBC coverage Feb 3, 2026
@nicosuave nicosuave merged commit c316dea into main Feb 3, 2026
14 checks passed
@nicosuave nicosuave deleted the adbc-ci branch February 3, 2026 16:51
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