Could you please suggest if we can create the table into other branch than “main” using DBT in nessie?
I wrote the below macro: {% macro test_branching() %}
{% set sql %} USE REFERENCE “test_branch” in NessieCatalog {% endset %}
{% do run_query(sql) %}
{% endmacro %}
My model: {{ test_branching() }}
SELECT product_id FROM NessieCatalog.Bronze.products WHERE product_id > 2
but it didn’t work. Could you please help me on this?
I want to create the table in the “test-branch” while doing as per your suggestion, table is getting created in the main branch itself not in the test-branch.