You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I ran dbt seed, which created and populated the stream dbt_demo__test_seed as expected (where dbt_demo is my local namespace).
However, when running dbt seed --full-refresh afterwards, I get this error:
15:41:12 Unhandled error while executing seed.example.test_seed
Decodable: ResourceAlreadyExists: {'timestamp': '2024-01-14T15:41:12.112+00:00', 'message': 'Unable to delete stream id [cad36ab9] as it is referenced by connection [ff748cbd].'}
The text was updated successfully, but these errors were encountered:
However, the drop_relation implementation does not account for connections - it only tries to delete pipelines first, then the stream. So in the seed case, it doesn't handle the created REST connection and just tries to delete the stream - which fails, as it is referenced by the connection
I created
test_seed.csv
in the seeds folder with the following content:Then I ran
dbt seed
, which created and populated the streamdbt_demo__test_seed
as expected (wheredbt_demo
is my local namespace).However, when running
dbt seed --full-refresh
afterwards, I get this error:The text was updated successfully, but these errors were encountered: