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 flag to skip compress_table if running model in incremental mode #54

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

ciklista
Copy link
Contributor

@ciklista ciklista commented Mar 14, 2022

Description & motivation

Added a skip_if_incremental flag to the compress_table macro. This can be useful when running the macro as a post-hook on a large, incremental model where we might not want to re-analyze the compression and rewrite the table on every incremental run.

Checklist

  • I have verified that these changes work locally
  • I have updated the README.md (if applicable)
  • I have added tests & descriptions to my models (and macros if applicable)

@ciklista ciklista changed the title Add flag to skip comporess_table if running model in incremental mode Add flag to skip compress_table if running model in incremental mode Mar 14, 2022
@misteliy
Copy link

can this merged? Would be nice to have this available.

Copy link
Contributor

@joellabes joellabes left a comment

Choose a reason for hiding this comment

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

Makes sense! thanks for adding 🙏

@joellabes joellabes merged commit ad9e686 into dbt-labs:main Nov 7, 2023
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 this pull request may close these issues.

3 participants