Closed kdazzle closed 4 months ago
Can you email me a dbt.log of this happening? ben.cassell@databricks.com
partition_by doesn't look formatted correctly. It should be:
partition_by=['environment', 'date']
Does making this change work?
Hey @benc-db - thanks for the response. I just got around to trying that again. Looks like it works fine on 1.8.3 with the list format. I'm 99.9% sure we tried that a few weeks back (on 1.8.0?), since that's what I had in an example I was pointing people to. But who knows.
Anyways, I'll close this - thanks again!
Describe the bug
I have a streaming table with partitions (code below). The initial run works fine and partitions the data as expected. However, following runs will either delete + recreate the table (a couple weeks ago), or will error out saying the partitions can't be changed (as of around today).
Not sure where the issue lies...I suspect it could be in this repo, but haven't dug into the code. I have an email thread going with dbt support, as well.
Thank you!
Steps To Reproduce
Expected behavior
Add new records to the streaming table
Screenshots and log output
Error message (from Databricks DLT pipeline, not dbt)
System information
Additional context
Sample model: