Skip to content

Execute v1 integration tests with v2 binary - #717

Draft
koletzilla wants to merge 12 commits into
mainfrom
ClickHouse/local-dbt-core-2-tests
Draft

koletzilla wants to merge 12 commits into
mainfrom
ClickHouse/local-dbt-core-2-tests

Conversation

@koletzilla

Copy link
Copy Markdown
Contributor

Summary

Checklist

Delete items not relevant to your PR:

@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from 263e69a to eaf9a27 Compare September 3, 2026 15:24
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from ababa0a to 55f47ba Compare October 23, 2026 15:46
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch 2 times, most recently from 5fade9e to 2b82ba9 Compare November 10, 2026 17:27
@workflow-authentication-public workflow-authentication-public Bot added the needs-docs PR has user-visible changes without matching docs updates label Nov 12, 2026
@workflow-authentication-public

workflow-authentication-public Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Docs drift check: resolved, docs now match this PR's changes.

@workflow-authentication-public workflow-authentication-public Bot removed the needs-docs PR has user-visible changes without matching docs updates label Nov 13, 2026
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from 030758d to ab431e5 Compare November 13, 2026 10:55
@workflow-authentication-public workflow-authentication-public Bot added needs-docs PR has user-visible changes without matching docs updates and removed needs-docs PR has user-visible changes without matching docs updates labels Nov 13, 2026
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from 20f1faf to ef8003e Compare November 13, 2026 17:09
@workflow-authentication-public workflow-authentication-public Bot added the needs-docs PR has user-visible changes without matching docs updates label Nov 13, 2026
@workflow-authentication-public workflow-authentication-public Bot removed the needs-docs PR has user-visible changes without matching docs updates label Nov 19, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

AI review gate — Draft pull request — AI review not started

  • Cursor Bugbot does not review draft pull requests, so the gate cannot pass yet.

What to do:

  • Mark the pull request Ready for review. Bugbot then reviews it.
  • The bot re-runs this gate automatically when you mark the pull request ready or the review lands; or comment /ai-gate check.

Re-run the gate with “Re-run jobs” after an approval or a finished review. A push re-runs it automatically.

@koletzilla koletzilla closed this Nov 26, 2026
@koletzilla
koletzilla deleted the ClickHouse/local-dbt-core-2-tests branch November 26, 2026 16:02
@koletzilla
koletzilla restored the ClickHouse/local-dbt-core-2-tests branch November 26, 2026 16:06
@koletzilla koletzilla reopened this Nov 26, 2026
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from cd5ea9b to 55bd18f Compare November 26, 2026 16:25
Correctly set cloud test to use db_engine=Shared so correct sync configs are set

Reduce flakyness: wait for data replication

Add  `select_sequential_consistency=1` for the subquery inside lightweights deletes to ensure it reads latest data in the table

Make sure `lightweight_deletes_sync` is always configured with a 3

In cloud when flushing/querying query_log, we need to use the default cluster

Correctly set cloud test to use db_engine=Shared so correct sync configs are set

Reduce flakyness: wait for data replication

Make test parallel

More changes for dbt v2 compatibility (to check)

Avoid config change to impact other tests

Wide type wide checking to make it compatible with v2

Rename dbt fusion to dbt core V2.
Add fixtures changes to make the syntaxt compatible with both v1 and v2

Add harness to use current integration tests with v2

fix tests for different CH versions

naming

Fix primary_key issues between v1 and v2

Bring back catalog.sql changes from v2

'flags=' in dbt core v2's re module doesn't work

More changes related to dbt core v2

More adaptations: issue with `?` and primary key format

extra spaces

Linting

extra space

Restore compare_versions

Remove code paths supporting ClickHouse version 22.7
@koletzilla
koletzilla force-pushed the ClickHouse/local-dbt-core-2-tests branch from 3b55bd9 to 85f915a Compare November 26, 2026 16:31
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