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

Add logic to enable iceberg incremental tables. #1190

Merged
merged 18 commits into from
Sep 26, 2024

Conversation

VersusFacit
Copy link
Contributor

@VersusFacit VersusFacit commented Sep 24, 2024

resolves: #321

Problem

Add incremental models

Solution

Leverage existing code abstractions.

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

@cla-bot cla-bot bot added the cla:yes label Sep 24, 2024
Copy link
Contributor

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.

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.

Does this achieve iceberg support for incremental models? It would be nice if it's this straight forward.

I also noticed that tests have not been added/updated. I would have expected to see some tests with table_format='iceberg' in this change.

@VersusFacit VersusFacit marked this pull request as ready for review September 26, 2024 07:14
@VersusFacit VersusFacit requested a review from a team as a code owner September 26, 2024 07:14
@VersusFacit VersusFacit force-pushed the ADAP-321/add_iceberg_incremental_models branch from 6978136 to 0e6c1c6 Compare September 26, 2024 11:01
@VersusFacit
Copy link
Contributor Author

I verified that the new configuration of the replacement type tests is replacing an iceberg table with an incremental iceberg table and vice versa, even after we changed the test case logic.

@VersusFacit VersusFacit merged commit d7632eb into main Sep 26, 2024
19 checks passed
@VersusFacit VersusFacit deleted the ADAP-321/add_iceberg_incremental_models branch September 26, 2024 21:05
@@ -58,12 +58,21 @@

{% materialization incremental, adapter='snowflake', supported_languages=['sql', 'python'] -%}

{% set original_query_tag = set_query_tag() %}

Choose a reason for hiding this comment

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

Hi @VersusFacit, I noticed that the query tags for incremental models are not applied anymore.
Why did you remove this line?

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.

[CT-1492] [Feature] Add support for Iceberg Tables
3 participants