We upgraded Elementary to 0.21.0 and are still see...
# community-support
j
We upgraded Elementary to 0.21.0 and are still seeing the ’`Database Error`
cannot insert multiple commands into a prepared statement
in Redshift. Anyone else?
n
Hey @Jon Simpson! We just tested another fix and it fixes the problem - we'll release it soon, but this can now be used. 🙌 https://elementary-community.slack.com/archives/C08HW57FGN9/p1765443922317599?thread_ts=1764339093.392769&cid=C08HW57FGN9
j
We’re using DBT cloud so I’m unsure how to override the ‘dbt deps’ version of the macro?
@Noya Offer this did resolve our issue. For others. Created a macro in the top level macro folder with the exact selection of appended lines from this commit: https://github.com/elementary-data/dbt-data-reliability/compare/master...redshift-remove-transcation-when-cleaning-test-temp-tables Then added a line to the dbt_projects.yml with:
Copy code
dispatch:
  - macro_namespace: elementary
    search_order: ['<MY_PROJECT>', 'elementary']
Where myproject is the ‘name’ value in your dbt_project folder
🙌 1
magic 1
m
@Noya Offer It looks like the Github links are unavailable. Any updates on when this fix will be released (and/or an updated link to the macro)? Thanks!