DESCRIBE QUERY
Syntax
Description
This command provides additional information about a Streaming or Continuous Query created in the current Organization.
See Query on how streaming queries operate in DeltaStream.
The Query will only be visible if the current role has USAGE
privileges.
See also DESCRIBE QUERY METRICS, DESCRIBE QUERY HISTORY, DESCRIBE QUERY STATE.
Arguments
query_id
This is the unique identifier of the Query to describe. See LIST QUERIES to find out how to list all Queries that the user has access to. The first column (ID
) in the response corresponds with the query_id
.
Examples
Describe a simple query
The following describes a simple query with a Changelog source Relation, users_log
, filtering on a userid
column and writing the results into a Changelog sink Relation, users2468_log
:
Describe a multi-source query
The following describes a JOIN
query that joins a Stream, pageviews
, and a Changelog Relation, users_log
, on a userid
column and writes the resulting records into a pv_user2468_interest
Changelog Relation:
Describe an ERRORED query
The following describes a query that was stopped due to an unrecoverable failure, leaving it in the ERRORED
state:
Last updated