Skip to content

fix(tests): prevent schema collisions between integration test params - #6072

Merged
cmgoffena13 merged 1 commit into
SQLMesh:mainfrom
cookieark7:fix/test-id-collision
Sep 16, 2026
Merged

cmgoffena13 merged 1 commit into
SQLMesh:mainfrom
cookieark7:fix/test-id-collision

Conversation

@cookieark7

Copy link
Copy Markdown
Contributor

Description

Closes #6043.

As agreed in the issue, test_id is now a 3-character tag derived from the param plus 5 random characters from secrets, so two params can't end up on the same schema. It stays at 8 characters to keep temp table names under Postgres's 63-character limit.

Test Plan

Checked the DuckDB, Postgres and ClickHouse integration suites and make fast-test locally — all passed.

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

Signed-off-by: cookieark <aishwary.kantode@gmail.com>
@cmgoffena13
cmgoffena13 self-requested a review September 16, 2026 00:10
@cmgoffena13
cmgoffena13 merged commit 18074a8 into SQLMesh:main Sep 16, 2026
34 checks passed
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.

CI Fix (Athena): Hive and Iceberg tables overlap in schema

2 participants