OptionalcacheOptionalchannelSQL Warehouse channel information at the time of query execution
OptionalclientClient application that ran the statement. For example: Databricks SQL Editor, Tableau, and Power BI. This field is derived from information provided by client applications. While values are expected to remain static over time, this cannot be guaranteed.
OptionaldurationTotal time of the statement execution. This value does not include the time taken to retrieve the results, which can result in a discrepancy between this value and the start-to-finish wall-clock time.
OptionalendpointAlias for warehouse_id.
OptionalerrorMessage describing why the query could not complete.
OptionalexecutedThe ID of the user whose credentials were used to run the query.
OptionalexecutedThe email address or username of the user whose credentials were used to run the query.
OptionalexecutionThe time execution of the query ended.
OptionalisWhether more updates for the query are expected.
OptionallookupA key that can be used to look up query details.
OptionalmetricsMetrics about query execution.
OptionalplansWhether plans exist for the execution, or the reason why they are missing
OptionalqueryThe time the query ended.
OptionalqueryThe query ID.
OptionalqueryA struct that contains key-value pairs representing
OptionalqueryThe time the query started.
OptionalqueryA query execution can be optionally annotated with query tags
OptionalqueryThe text of the query.
OptionalrowsThe number of results returned by the query.
OptionalsessionThe spark session UUID that query ran on. This is either the Spark Connect, DBSQL, or SDP session ID.
OptionalsparkURL to the Spark UI query plan.
OptionalstatementType of statement for this query
OptionalstatusQuery status with one the following values:
QUEUED: Query has been received and queued.RUNNING: Query has started.CANCELED: Query has been cancelled by the user.FAILED: Query has failed.FINISHED: Query has completed.OptionaluserThe ID of the user who ran the query.
OptionaluserThe email address or username of the user who ran the query.
OptionalwarehouseWarehouse ID.
The ID of the cached query if this result retrieved from cache