Skip to content
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

Fix multi-db snowflake #11485

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Fix multi-db snowflake #11485

merged 1 commit into from
Mar 19, 2025

Conversation

spolu
Copy link
Contributor

@spolu spolu commented Mar 19, 2025

Description

Fixes: https://github.com/dust-tt/tasks/issues/2402

The whole story is in the issue above but the summary is the following: there is a notion of "default" DB (I suspect the current flag) which is the default DB used when querying tables and schemas. If there are more than 1 DB in snowflake then querying all schemas or all tables will only pull from that DB which means that our fetchTree implementation was incorrect leading to the issues seen by the user.

I checked that BigQuery is not subject to that. But Snowflake might?

Tests

N/A

Risk

Low

Deploy Plan

  • deploy connectors

@spolu spolu requested a review from PopDaph March 19, 2025 17:08
@spolu
Copy link
Contributor Author

spolu commented Mar 19, 2025

PMRR

@spolu spolu merged commit ed1c868 into main Mar 19, 2025
6 checks passed
@spolu spolu deleted the spolu-fix_snowflake branch March 19, 2025 17:08
Copy link
Contributor

@PopDaph PopDaph left a comment

Choose a reason for hiding this comment

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

👍🏻
(and thanks for the summary)

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.

2 participants