Amazon Redshift · Schema
SubStatementData
AnalyticsBig DataCloudData LakeData WarehouseETLMachine LearningServerlessSQL
Properties
| Name | Type | Description |
|---|---|---|
| Id | string | The identifier of the sub-statement |
| Status | string | The status of the sub-statement |
| CreatedAt | string | The date and time the sub-statement was created |
| UpdatedAt | string | The date and time the sub-statement was last updated |
| Duration | integer | The time in nanoseconds the sub-statement ran |
| QueryString | string | The SQL statement text |
| RedshiftQueryId | integer | The Redshift query identifier |
| ResultRows | integer | Total number of rows in the result set |
| ResultSize | integer | The size of the result set in bytes |
| HasResultSet | boolean | Whether the sub-statement has a result set |
| Error | string | The error message if the sub-statement failed |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SubStatementData",
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "The identifier of the sub-statement"
},
"Status": {
"type": "string",
"description": "The status of the sub-statement"
},
"CreatedAt": {
"type": "string",
"description": "The date and time the sub-statement was created"
},
"UpdatedAt": {
"type": "string",
"description": "The date and time the sub-statement was last updated"
},
"Duration": {
"type": "integer",
"description": "The time in nanoseconds the sub-statement ran"
},
"QueryString": {
"type": "string",
"description": "The SQL statement text"
},
"RedshiftQueryId": {
"type": "integer",
"description": "The Redshift query identifier"
},
"ResultRows": {
"type": "integer",
"description": "Total number of rows in the result set"
},
"ResultSize": {
"type": "integer",
"description": "The size of the result set in bytes"
},
"HasResultSet": {
"type": "boolean",
"description": "Whether the sub-statement has a result set"
},
"Error": {
"type": "string",
"description": "The error message if the sub-statement failed"
}
}
}