# pit table creation in dbt 1.2 version

**URL:** <https://discourse.getdbt.com/t/pit-table-creation-in-dbt-1-2-version/12025>\
**Category:** Show and Tell\
**Tags:** jinja\
**Created:** [February 13, 2024, 10:36am UTC](https://discourse.getdbt.com/t/pit-table-creation-in-dbt-1-2-version/12025 "2024-02-13T10:36:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jogichandu](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jogichandu](https://discourse.getdbt.com/u/jogichandu)\
**Post date:** [February 13, 2024, 10:36am UTC](https://discourse.getdbt.com/t/pit-table-creation-in-dbt-1-2-version/12025/1 "2024-02-13T10:36:10Z")

</div>

can someone tell me how to write the code to create a pit table in dbt 1.2 version. i tried to use the automate\_dv macros. but no luck.
