-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Describe the feature
Currently the adapter response of the Trino connector is by default a "SUCCESS" message . By looking up in the table system.runtime.queries, the Trino query_id provides access to useful performance metadata that can be used for observability. Including this attribute in the adapter response would greatly enhance observability of dbt models by enabling traceability for each model run.
The query_id can be accessed by the ._query.query_id attribute of the trino.dbapi.Cursor object.
Other dbt providers (i.e. BigQuery, Snowflake) add a similar ID to their adapter response as well.
Describe alternatives you've considered
No response
Who will benefit?
This will benefit all data teams looking to monitor the performance of their dbt model runs over time, e.g. runtime, successes/failures, etc. Each dbt model run can be tied back to underlying metadata within trino itself.
Are you willing to submit PR?
- Yes I am willing to submit a PR!