-
Notifications
You must be signed in to change notification settings - Fork 178
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
[Feature] Default external volume not being consider on dbt-snowflake iceberg. #1266
Comments
@maurofloriano thanks for reporting! three follow-up questions:
|
I do have a suggestion for this issue, maybe something like: Might be easy enough to implement and if users define will always take precedent into the default one |
I had this tested locally and might be a solution, I would also suggest to add database to the base_location path, this way would make it possible for users that share external volumes to make sure to have the unique id for the table easily. I tried to create a MR with this change to request review, but was not able, not sure if need any extra access or something. |
Is this a new bug in dbt-snowflake?
Current Behavior
Snowflake
CREATE ICEBERG TABLE
DDL givesEXTERNAL_VOLUME
as an optional parameter with the following reasoning:However, at the moment, dbt-snowflake expects that
external_volume
is set at the model level into the configs.dbt-snowflake/dbt/adapters/snowflake/relation.py
Line 209 in 457c361
Expected Behavior
If an external volume is set at account/database/schema level, dbt should ignore external volume field and just not pass this information to the statment.
Steps To Reproduce
Relevant log output
External volume 'NONE' does not exist or not authorized.
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: