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 Dynamic Iceberg Table Required DDL Params #1201

Merged

Conversation

VersusFacit
Copy link
Contributor

@VersusFacit VersusFacit commented Oct 8, 2024

resolves #1200

Problem

Base location isn't generating a default value.

Solution

Render the base location explicitly.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Take optional off params that are not optional in dynamic table create DDL.
@VersusFacit VersusFacit self-assigned this Oct 8, 2024
@VersusFacit VersusFacit requested a review from a team as a code owner October 8, 2024 19:24
@cla-bot cla-bot bot added the cla:yes label Oct 8, 2024
Copy link
Contributor

github-actions bot commented Oct 8, 2024

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide.

@VersusFacit VersusFacit changed the title Fix base location not rendering without subpath and add tests. Fix Dynamic Iceberg Table Required DDL Params Oct 8, 2024
@VersusFacit VersusFacit force-pushed the ADAP-1200/fix_base_location_ddl_for_dynamic_iceberg_tables branch from 3984329 to 40c33e3 Compare October 8, 2024 21:39
Copy link
Contributor

@mikealfare mikealfare left a comment

Choose a reason for hiding this comment

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

One, non-blocking consideration.

@@ -0,0 +1,6 @@
kind: Fixes
body: Dynamic Iceberg table DDL catalog parameter fixes.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would consider making this changelog entry specific to base_location_subpath.

@VersusFacit VersusFacit enabled auto-merge (squash) October 8, 2024 22:16
@VersusFacit VersusFacit merged commit 7dea145 into main Oct 8, 2024
44 checks passed
@VersusFacit VersusFacit deleted the ADAP-1200/fix_base_location_ddl_for_dynamic_iceberg_tables branch October 8, 2024 22:35
seediang pushed a commit to seediang/dbt-snowflake that referenced this pull request Oct 12, 2024
* Fix base location not rendering without subpath and add tests.

Take optional off params that are not optional in dynamic table create DDL.

* Add changelog.

* Revert changes to external volume

* revert changes to catalog optionality.

* Tabs.

* Fix base_location_subpath generation for dynamic tables.

---------

Co-authored-by: VersusFacit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] dynamic iceberg tables don't build without base_location_subpath option
2 participants