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
It is common to want to parse SQL statements run against a warehouse programmatically to determine information about who / what is running them. Different tools have different mechanisms for how they want their data to be passed, but essentially all of them are in some particular data format encapsulated in a comment block.
I do not have strong opinions on exactly how this should be implemented. My desired user experience is that I would set these query comments as a config parameter somewhere and then have dbt automatically add them to all SQL it runs on my behalf.
Who will this benefit?
Any user who has a dbt project of sufficient complexity that they need to perform "APM"-like tasks on top of it: monitoring warehouse usage, performance, reliability, responsiveness, cost, etc.
The text was updated successfully, but these errors were encountered:
Some of these fields might not make sense together -- a test node isn't going to have a relation associated with it, for instance. Let's roll with this approach for now - we can always make the payload more contextually aware in the future.
Feature
Feature description
It is common to want to parse SQL statements run against a warehouse programmatically to determine information about who / what is running them. Different tools have different mechanisms for how they want their data to be passed, but essentially all of them are in some particular data format encapsulated in a comment block.
Here is an example of how Looker implements this feature:
https://docs.looker.com/admin-options/server/usage#sql_comments
Here is an example of how Intermix requests data from its upstream integrations:
https://docs.intermix.io/hc/en-us/articles/360004361073-intermix-io-App-Tracing-Guide
I do not have strong opinions on exactly how this should be implemented. My desired user experience is that I would set these query comments as a config parameter somewhere and then have dbt automatically add them to all SQL it runs on my behalf.
Who will this benefit?
Any user who has a dbt project of sufficient complexity that they need to perform "APM"-like tasks on top of it: monitoring warehouse usage, performance, reliability, responsiveness, cost, etc.
The text was updated successfully, but these errors were encountered: