dbt-msft / tsql-utils

dbt-utils for the dbt-msft family of packages
MIT License
25 stars 25 forks source link

Add dbt date shims (pt 2) #40

Closed dataders closed 3 years ago

dataders commented 3 years ago

shim dbt-date, the macros and all tests in dbt-date's integration tests project! #36. All credit to @b-per here, I shamelessly stole their macros.

@JCZuurmond I'm cringing at repetition in circleci/config.yml. perhaps you can help toxify for in a future PR?

b-per commented 3 years ago

Thanks @swanderz for merging this and the dbt-expectations macros within tsql-utils ! Can't wait to test it quickly on my side.

Is there anything else that you would need from me around those shims or is it all good? If those are done I might try to tackle some of the last missing dbt-utils macros.

dataders commented 3 years ago

@b-per #44 is all set up for starting to shim dbt-expectations, if you check out CI test output you can see the places to start.

On your local set up you'll just want to call dbt deps/run/test from the tsql-utils' integration_tests/dbt_expectations folder. Reach out if you have questions, but also to be sure to browse the dbt-utils shims for techniques we've used before like for kwargs and working around unsupported syntax in the parent project's schema test defs.