Skip to main content

Documentation index: llms.txt. This page is also available as markdown: append .md to this URL or send Accept: text/markdown.

TableQueryOutput

A SQL query being run on the warehouse either to READ or WRITE data

type TableQueryOutput {
author: String
databaseIds: [String!]!
hash: ID!
isHidden: Boolean!
query: String!
queriesDuration: Float
queryType: QueryType!
rowsProduced: Int
schemaIds: [String!]!
snowflakeWarehouseSize: String
sourceUserId: String
tables: [TableInQueryOutput!]!
timestamp: Timestamp!
warehouseIds: [String!]!
}

Fields

TableQueryOutput.author ● String scalar general

The query's author

TableQueryOutput.databaseIds ● [String!]! non-null scalar general

The database ids

TableQueryOutput.hash ● ID! non-null scalar general

The query identifier

TableQueryOutput.isHidden ● Boolean! non-null scalar general

The query's visibility

TableQueryOutput.query ● String! non-null scalar general

The query's content

TableQueryOutput.queriesDuration ● Float scalar general

The query duration (in seconds)

TableQueryOutput.queryType ● QueryType! non-null enum general

The query's type

TableQueryOutput.rowsProduced ● Int scalar general

The number of rows produced by the query

TableQueryOutput.schemaIds ● [String!]! non-null scalar general

The schema ids

TableQueryOutput.snowflakeWarehouseSize ● String scalar general

The snowflake warehouse size used to run the query

TableQueryOutput.sourceUserId ● String scalar general

The source user id associated to the query

TableQueryOutput.tables ● [TableInQueryOutput!]! non-null object general

The tables used in the query

TableQueryOutput.timestamp ● Timestamp! non-null scalar general

date of the execution of the query

TableQueryOutput.warehouseIds ● [String!]! non-null scalar general

The warehouse ids

Example

{
"databaseIds": [],
"schemaIds": [],
"tables": [
{}
],
"warehouseIds": []
}

Member Of