dbt-labs / dbt-labs/dbt-audit-helper

Allow conditions for diffing by adding a where_condition parameter to macros

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
enhancement Stale triage
Dominant language
No language data
Stars
423
Forks
51
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature
For testing macros under "Compare which columns differ" section, it will be very useful to add an extra parameter `where_conditions` to filter out the data we really want to test on, for example where timestamp > 'date', in an incremental model, so that we can save the credits we spend on these testing queries.

### Additional context
This can be used across all databases.

### Who will this benefit?
Anyone who want to have the flexibility to test on a certain conditions and save money.

### Are you interested in contributing this feature?
This is a quick one to add

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.