-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Describe the bug
Starting this morning, Elementary began to fail during its on-run-end hook:
[2025-12-01, 08:31:50 UTC] {docker.py:429} INFO - �[0m08:31:50 Running 1 on-run-end hook
[2025-12-01, 08:31:53 UTC] {docker.py:429} INFO - �[0m08:31:53 Database error while running on-run-end
[2025-12-01, 08:31:53 UTC] {docker.py:429} INFO - �[0m08:31:53
[2025-12-01, 08:31:53 UTC] {docker.py:429} INFO - �[0m08:31:53 Finished running 1 table model, 1 project hook in 0 hours 4 minutes and 4.23 seconds (244.23s).
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54 �[31mCompleted with 1 error and 0 warnings:�[0m
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54 on-run-end failed, error:
cannot insert multiple commands into a prepared statement
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54
[2025-12-01, 08:31:54 UTC] {docker.py:429} INFO - �[0m08:31:54 Done. PASS=1 WARN=0 ERROR=1 SKIP=0 TOTAL=2Looking in the Elementary Slack community, it appears that there are a few of us who have all started encountering this in the last few days.
One community member suggested a fix in the thread linked above.
We have currently disabled Elementary as it appears it was affecting all of our pipelines. Could you please give this a look, and at least confirm if the suggested macro overwrite would be a safe-to-use workaround for the time being?
Thanks
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Elementary CLI (edr) version: [e.g. 0.5.3], can be found by running
pip show elementary-data - Elementary dbt package version: [e.g. 0.4.1], can be found in
packages.ymlfile - dbt version you're using [e.g. 1.8.1]
- Data warehouse [e.g. snowflake]
- Infrastructure details (e.g. operating system, prod / dev / staging, deployment infra, CI system, etc)
Additional context
Add any other context about the problem here.
Would you be willing to contribute a fix for this issue?
Let us know if you're willing to contribute so that we'll be able to provide guidance.