Skip to content

Destinations Clickhouse+Snowflake: Add schema evolution test suite - #69245

Merged
Edward Gao (edgao) merged 11 commits into
masterfrom
edgao/schema_evolution_test/suite/connectors
Nov 13, 2025
Merged

Edward Gao (edgao) merged 11 commits into
masterfrom
edgao/schema_evolution_test/suite/connectors

Conversation

@edgao

@edgao Edward Gao (edgao) commented Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

What

Branched from #69234. Add the new test suites.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 9c2a67f to eb1fcd2 Compare November 7, 2025 22:32
@github-actions

github-actions Bot commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

Helpful Resources

PR Slash Commands

Airbyte Maintainers (that's you!) can execute the following slash commands on your PR:

  • /format-fix - Fixes most formatting issues.
  • /bump-version - Bumps connector versions.
    • You can specify a custom changelog by passing changelog. Example: /bump-version changelog="My cool update"
    • Leaving the changelog arg blank will auto-populate the changelog from the PR title.
  • /run-cat-tests - Runs legacy CAT tests (Connector Acceptance Tests)
  • /build-connector-images - Builds and publishes a pre-release docker image for the modified connector(s).
  • JVM connectors:
    • /update-connector-cdk-version connector=<CONNECTOR_NAME> - Updates the specified connector to the latest CDK version.
      Example: /update-connector-cdk-version connector=destination-bigquery
    • /bump-bulk-cdk-version type=patch changelog='foo' - Bump the Bulk CDK's version. type can be major/minor/patch.
  • Python connectors:
    • /poe connector source-example lock - Run the Poe lock task on the source-example connector, committing the results back to the branch.
    • /poe source example lock - Alias for /poe connector source-example lock.
    • /poe source example use-cdk-branch my/branch - Pin the source-example CDK reference to the branch name specified.
    • /poe source example use-cdk-latest - Update the source-example CDK dependency to the latest available version.

📝 Edit this welcome message.

@github-actions

github-actions Bot commented Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

destination-clickhouse Connector Test Results

 15 files   15 suites   23m 11s ⏱️
291 tests 241 ✅ 50 💤 0 ❌
321 runs  271 ✅ 50 💤 0 ❌

Results for commit 4866d78.

♻️ This comment has been updated with latest results.

@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from d253494 to 67583cd Compare November 8, 2025 00:48
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch 2 times, most recently from 345d754 to 181c65e Compare November 11, 2025 17:53
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch 2 times, most recently from 11b899c to 8e767b1 Compare November 11, 2025 19:48
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch 2 times, most recently from 33a1b80 to 855ba81 Compare November 11, 2025 21:44
@github-actions

github-actions Bot commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor

destination-snowflake Connector Test Results

 28 files   28 suites   20m 1s ⏱️
342 tests 306 ✅ 36 💤 0 ❌
346 runs  310 ✅ 36 💤 0 ❌

Results for commit 4866d78.

♻️ This comment has been updated with latest results.

@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 8e767b1 to 47c64ac Compare November 11, 2025 21:57
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from 855ba81 to 2253fbf Compare November 11, 2025 21:57
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 47c64ac to 53cffff Compare November 11, 2025 23:06
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from 2253fbf to 27f15a7 Compare November 11, 2025 23:06
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 53cffff to d939e97 Compare November 11, 2025 23:10
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from 27f15a7 to de6c814 Compare November 11, 2025 23:10
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from d939e97 to 4d60f5f Compare November 11, 2025 23:45
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from de6c814 to d1cf9f7 Compare November 11, 2025 23:45
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 4d60f5f to 14efb3b Compare November 11, 2025 23:50
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from d1cf9f7 to 109451b Compare November 11, 2025 23:51
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/cdk branch from 14efb3b to 730bc0c Compare November 11, 2025 23:56
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from 109451b to 6abdc79 Compare November 11, 2025 23:56
@edgao Edward Gao (edgao) changed the title Edgao/schema evolution test/suite/connectors Destinations Clickhouse+Snowflake: Add schema evolution test suite Nov 12, 2025
@edgao
Edward Gao (edgao) marked this pull request as ready for review November 12, 2025 00:06
@edgao
Edward Gao (edgao) requested a review from a team as a code owner November 12, 2025 00:06
@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from 6abdc79 to 1e36d15 Compare November 12, 2025 00:25
ColumnNameMapping(mapValues { (_, v) -> v.uppercase() })
private val testMapping = TableOperationsFixtures.TEST_MAPPING.transformColumns()
private val idTestWithCdcMapping =
TableOperationsFixtures.ID_TEST_WITH_CDC_MAPPING.transformColumns()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

these are just moved verbatim to SnowflakeComponentTestFixtures

class ClickhouseTableSchemaEvolutionTest(
override val client: TableSchemaEvolutionClient,
override val opsClient: TableOperationsClient,
override val testClient: TestTableOperationsClient

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How do these get injected? Is there some micronaut magic I don't understand going on here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(from dm) just normal constructor injection. the MicronautTest annotation is being inherited from the base class, but I'll just add it explicitly to make it more obvious

@edgao
Edward Gao (edgao) force-pushed the edgao/schema_evolution_test/suite/connectors branch from c1bcc1e to 23c5f58 Compare November 13, 2025 00:54
Base automatically changed from edgao/schema_evolution_test/suite/cdk to master November 13, 2025 23:17
@edgao
Edward Gao (edgao) requested a review from a team as a code owner November 13, 2025 23:37
@github-actions

github-actions Bot commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

Deploy preview for airbyte-docs ready!

✅ Preview
https://airbyte-docs-l1elsgq66-airbyte-growth.vercel.app

Built with commit 4866d78.
This pull request is being automatically deployed with vercel-action

@edgao
Edward Gao (edgao) merged commit 295accd into master Nov 13, 2025
42 checks passed
@edgao
Edward Gao (edgao) deleted the edgao/schema_evolution_test/suite/connectors branch November 13, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants