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

[Bug] External volume name set as None when omitted in Iceberg tables #1300

Open
2 tasks done
dlouseiro opened this issue Jan 29, 2025 · 0 comments · May be fixed by #1302
Open
2 tasks done

[Bug] External volume name set as None when omitted in Iceberg tables #1300

dlouseiro opened this issue Jan 29, 2025 · 0 comments · May be fixed by #1302

Comments

@dlouseiro
Copy link

Is this a new bug in dbt-snowflake?

  • I believe this is a new bug in dbt-snowflake
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

When a external_volume is omitted in the definition of an Iceberg table, the create table statement uses external_volume='None'.

As Snowflake allows for the creation of Iceberg tables without specifying an external volume (picking up the external volume attached to the schema or database) and the field is defined as optional, this does not seem like an expected behaviour.

Expected Behavior

external_volume specification is omitted from create table statement if the volume is not defined in the model's configuration.

Steps To Reproduce

  1. Define an Iceberg table model, omitting the external_volume
  2. Run code
  3. Check target/run code for a create table statement with external_volume='None'

Relevant log output

Environment

- OS: macOS 15.2
- Python: 3.11.11
- dbt-core: 1.9.1
- dbt-snowflake: 1.9.0

Additional Context

No response

@dlouseiro dlouseiro linked a pull request Jan 29, 2025 that will close this issue
4 tasks
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 a pull request may close this issue.

1 participant