Skip to content

fix(ingest): fix deps for fivetran #13385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented May 1, 2025

Fivetran depends on snowflake/bigquery, but only needs their ConnectionConfig types and a few other bits. It should not require things like great_expectations or datahub_classify. This PR shuffles around / refactors our helpers so that Fivetran can only depend on the bits it needs.

  • Moves BigQueryConnectionConfig to a dedicated file
  • Moves make_sqlalchemy_uri to a dedicated file

Tested by running datahub check plugins --source fivetran --verbose in an isolated venv.

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label May 1, 2025
Copy link

codecov bot commented May 1, 2025

Codecov Report

Attention: Patch coverage is 96.92308% with 2 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ngestion/source/bigquery_v2/bigquery_connection.py 94.59% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label May 1, 2025
@datahub-cyborg datahub-cyborg bot added pending-submitter-merge and removed needs-review Label for PRs that need review from a maintainer. labels May 2, 2025
@hsheth2 hsheth2 merged commit b7ef234 into master May 2, 2025
79 of 86 checks passed
@hsheth2 hsheth2 deleted the fivetran-import-isolation branch May 2, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata pending-submitter-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants