Datavault-UK / automate-dv

A free to use dbt package for creating and loading Data Vault 2.0 compliant Data Warehouses (powered by dbt, an open source data engineering tool, registered trademark of dbt Labs)
https://www.automate-dv.com
Apache License 2.0
478 stars 114 forks source link

[BUG] macro 'dbt_macro__pit' takes no keyword argument 'stage_tables' #201

Closed graciegoheen closed 1 year ago

graciegoheen commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

When I try to use the pit macro (per the documentation), I get the error

macro 'dbt_macro__pit' takes no keyword argument 'stage_tables'

Environment

dbt version: 1.5.1 automate_dv version: 0.9.6 Database/Platform: Snowflake

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
DVAlexHiggs commented 1 year ago

Please see here, we updated this in 0.9.0: https://automate-dv.readthedocs.io/en/latest/migration_guides/

graciegoheen commented 1 year ago

Got it! Would be great to update these docs as well https://automate-dv.readthedocs.io/en/latest/metadata/#point-in-time-pit-tables

DVAlexHiggs commented 1 year ago

Thanks for pointing that out! We'll update that right away