Closed vlieven closed 1 year ago
I see the bug and it's pretty obvious; really surprised that this integration test didn't catch it tho: https://github.com/jwills/dbt-duckdb/blob/master/tests/functional/adapter/test_rematerialize.py
cc @AlexanderVR
Arrrg, the dbt
comma vs space strikes again. Basically it's creating a null selection so the test always passes. This was already a hard-fought one-line fix https://github.com/jwills/dbt-duckdb/pull/109/files but the bug found its way back.
So there are two issues exposed by fixing the test here. Thanks @vlieven for finding the model vs relation bug.
There is also a minor issue of which config to use for handling e.g. the partitioning. I've submitted https://github.com/jwills/dbt-duckdb/pull/126 to handle all of these
@AlexanderVR I assume I can close this, as the fix was included in your PR?
Thanks for fixing this!
Fixes: #124