-
Notifications
You must be signed in to change notification settings - Fork 187
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
[Regression] Snowflake is now populating a value for the relation type on dynamic tables, which is not properly reflected in the metadata queries #934
Labels
Comments
mikealfare
added
type:bug
Something isn't working
triage:product
type:regression
labels
Mar 19, 2024
Examples of failed tests: https://github.com/dbt-labs/dbt-snowflake/actions/runs/8336750340/job/22814405444?pr=933 |
I don't think we're getting nulls anymore for dbt-snowflake/dbt/include/snowflake/macros/catalog.sql Lines 39 to 70 in 7e1c1c7
So we'll need to update this line:
|
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a regression in a recent version of dbt-snowflake?
Current Behavior
Querying the relation type on a dynamic table produces "BASE TABLE". This used to be empty, and was coalesced to a value unique to dynamic tables.
Expected/Previous Behavior
Querying the relation type on a dynamic table should produce "DYNAMIC TABLE".
Steps To Reproduce
Relevant log output
No response
Environment
Additional Context
We need to update the metadata query. Because it looks like the value selected matches that of a traditional table, we'll need to look for another field to differentiate the two, such as an update frequency, or the presence in a metadata table that only contains dynamic tables.
The text was updated successfully, but these errors were encountered: