This PR adds a folder for shims of dbt-expectations macros. Specifically, this PR only adds a spark shim for the regexp_instr macro. This may be expanded in future PRs to add other shims for macros within this package.
I did not add anything to the integration_tests folder. Let me know if there are any updates needed on my end for this to be incorporated. A working implementation currently exists within the Fivetran dbt_google_ads_source package. The intention will be to remove this macro from the Fivetran package and into spark-utils for use by all.
PR to address Issue #29
This PR adds a folder for shims of dbt-expectations macros. Specifically, this PR only adds a spark shim for the
regexp_instr
macro. This may be expanded in future PRs to add other shims for macros within this package.I did not add anything to the integration_tests folder. Let me know if there are any updates needed on my end for this to be incorporated. A working implementation currently exists within the Fivetran dbt_google_ads_source package. The intention will be to remove this macro from the Fivetran package and into spark-utils for use by all.