Kirill Safronov
02/25/2026, 10:17 PMkapa.ai
02/25/2026, 10:17 PMkapa.ai
02/25/2026, 10:17 PMquery_comment to an existing dbt query_comment. They also don’t show any examples of how Elementary sets or modifies query_comment internally.
Because of that, I can’t reliably tell you:
• How Elementary currently injects its own query_comment, or
• Whether there’s a supported way to “append” it to your project’s existing dbt query_comment instead of replacing it.
The usual pattern for this in dbt in general is to override the generate_query_comment macro in your own project and build whatever combined comment you want, but the knowledge sources don’t show how (or if) Elementary hooks into that macro, so I can’t confirm that this will work with Elementary’s comment.
Given these gaps, the safest next step is to ask directly in the Elementary Slack channel or check the latest docs/source for any query_comment-related macros or config in the elementary package. 👍 0 button 👎 0 button ℹ️ Tip: Mention @elementary.ai in the thread for follow-ups or DM the app for 1-to-1 help.