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

Convert stg_metering_history to incremental OR handle nulls #168

Open
bisset-a opened this issue Oct 24, 2024 · 0 comments
Open

Convert stg_metering_history to incremental OR handle nulls #168

bisset-a opened this issue Oct 24, 2024 · 0 comments

Comments

@bisset-a
Copy link

Would it be possible to convert stg_metering_history to be an incremental materialisation? Noticed that Snowflake has updated these views in the past, causing us to have missing data.

Or are we able to add column
{{ dbt_utils.generate_surrogate_key(['service_type', 'entity_id', 'start_time', 'name']) }} as metering_history_key,
to this model so that nulls are handled and we can change to incremental if we please? Thank you!!!

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

No branches or pull requests

1 participant