dbt-utils
dbt-utils copied to clipboard
Utility functions for dbt projects.
resolves # ### Problem This is very much a WIP! ### Solution Add testing for the fusion engine. Note: https://github.com/dbt-labs/dbt-package-testing/pull/12 currently only supports testing on snowflake. ## Checklist - [...
As dbt-athena is now maintained by dbt-labs it would be awesome to support it on dbt-utils.
resolves #1013 ### Problem There is no reliable way to encode/decode strings for url. There is an open issue here: https://github.com/dbt-labs/dbt-utils/issues/1013 ### Solution A macro used to encode/decode url strings...
## Explanation When following the “Setting up an environment” section of the `CONTRIBUTING.md`, the instructions suggest using `make dev`. However, the `Makefile` is currently written with a `target` variable that...
### Describe the feature **get_columns_by_pattern(table, pattern)** A macro that only returns columns matching a given search pattern. **Example** For a table containing the following columns: ``` user_id, current_item, last_item, state...
### Describe the feature All of the examples in the README.md etc result in [MissingArgumentsPropertyInGenericTestDeprecation](https://docs-getdbt-com-git-test-arguments-deprecations-dbt-labs.vercel.app/reference/deprecations#missingargumentspropertyingenerictestdeprecation) ### Who will this benefit? Its confusing when the documentation uses deprected syntax. ### Are...
### Describe the feature create a Snowflake-specifc override in `macros/sql/get_tables_by_pattern_sql.sql` to allow a backslash to be used to escape wildcards if used in the pattern parameters. for example, my desired...
### Describe the feature Allow the union_relations function to work with external tables. ### Describe alternatives you've considered There aren't any ### Additional context I think depending on the adapter,...
### Describe the bug When I run generate_surrogate_key macro for a boolean column, it fails with below error. `cannot cast type boolean to character varying` ### Steps to reproduce Run...
### Describe the bug I have enabled "validate_macro_args: True" in my project and I am getting these warning in my project. I would like to know if there warning are...