Module statement

Source

Structs§

AbbreviatedGrantStatement
AbbreviatedRevokeStatement
AlterClusterStatement
ALTER CLUSTER .. SET ...
AlterConnectionOption
An option in an ALTER CONNECTION... statement.
AlterConnectionStatement
ALTER CONNECTION
AlterDefaultPrivilegesStatement
ALTER DEFAULT PRIVILEGES ...
AlterIndexStatement
ALTER INDEX ... {RESET, SET}
AlterNetworkPolicyStatement
AN ALTER NETWORK POLICY statement.
AlterObjectRenameStatement
ALTER <OBJECT> ... RENAME TO
AlterObjectSwapStatement
ALTER <OBJECT> SWAP ...
AlterOwnerStatement
ALTER <OBJECT> ... OWNER TO
AlterRetainHistoryStatement
ALTER <OBJECT> ... [RE]SET (RETAIN HISTORY [FOR ...])
AlterRoleStatement
ALTER ROLE
AlterSecretStatement
ALTER SECRET ... AS
AlterSetClusterStatement
ALTER SET CLUSTER
AlterSinkStatement
AlterSourceAddSubsourceOption
An option in an ALTER SOURCE...ADD SUBSOURCE statement.
AlterSourceStatement
AlterSystemResetAllStatement
ALTER SYSTEM RESET ALL
AlterSystemResetStatement
ALTER SYSTEM RESET ...
AlterSystemSetStatement
ALTER SYSTEM SET ...
AlterTableAddColumnStatement
ALTER TABLE ... ADD COLUMN ...
Assignment
SQL assignment foo = expr as used in SQLUpdate
CloseStatement
CLOSE ...
ClusterAlterOption
An option in a ALTER CLUSTER... WITH statement.
ClusterAlterUntilReadyOption
ClusterFeature
ClusterOption
An option in a CREATE CLUSTER statement.
ColumnName
CommentStatement
COMMENT ON ...
CommitStatement
COMMIT [ TRANSACTION | WORK ] [ AND [ NO ] CHAIN ]
ConnectionDefaultAwsPrivatelink
CopyOption
CopyStatement
COPY
CreateClusterReplicaStatement
CREATE CLUSTER REPLICA ..
CreateClusterStatement
CREATE CLUSTER ..
CreateConnectionStatement
CREATE CONNECTION refactor WIP
CreateContinualTaskStatement
CREATE CONTINUAL TASK
CreateDatabaseStatement
CREATE DATABASE
CreateIndexStatement
CREATE INDEX
CreateMaterializedViewStatement
CREATE MATERIALIZED VIEW
CreateNetworkPolicyStatement
A CREATE NETWORK POLICY statement.
CreateRoleStatement
A CREATE ROLE statement.
CreateSchemaStatement
CREATE SCHEMA
CreateSecretStatement
A CREATE SECRET statement.
CreateSinkOption
CreateSinkStatement
CREATE SINK
CreateSourceStatement
CREATE SOURCE
CreateSubsourceOption
CreateSubsourceStatement
CREATE SUBSOURCE
CreateTableFromSourceStatement
CREATE TABLE .. FROM SOURCE
CreateTableStatement
CREATE TABLE
CreateTypeListOption
CreateTypeMapOption
CreateTypeStatement
CREATE TYPE ..
CreateViewStatement
CREATE VIEW
CreateWebhookSourceBody
BODY [AS ...] [BYTES]
CreateWebhookSourceCheck
CHECK ( ... )
CreateWebhookSourceCheckOptions
CHECK ( WITH ( ... ) )
CreateWebhookSourceFilterHeader
CreateWebhookSourceHeader
HEADER [AS ...] [BYTES]
CreateWebhookSourceIncludeHeaders
INCLUDE [HEADER | HEADERS]
CreateWebhookSourceMapHeader
INCLUDE HEADER <name> [AS <alias>] [BYTES]
CreateWebhookSourceSecret
SECRET ... [AS ...] [BYTES]
CreateWebhookSourceStatement
CREATE (SOURCE | TABLE) <name> FROM WEBHOOK
DeallocateStatement
DEALLOCATE ...
DeclareStatement
DECLARE ...
DeleteStatement
DELETE
DiscardStatement
DropObjectsStatement
DROP
DropOwnedStatement
DROP OWNED BY ...
ExecuteStatement
EXECUTE ...
ExplainAnalyzeStatement
ExplainPlanOption
ExplainPlanStatement
ExplainPushdownStatement
ExplainSinkSchemaStatement
ExplainTimestampStatement
ExternalReferenceExport
A selected external reference in a FOR TABLES (..) statement
FetchOption
FetchStatement
FETCH ...
GrantPrivilegesStatement
GRANT ...
GrantRoleStatement
GRANT ...
IndexOption
InsertStatement
INSERT
InspectShardStatement
INSPECT SHARD <id>
KafkaBroker
KafkaBrokerAwsPrivatelink
KafkaBrokerAwsPrivatelinkOption
NetworkPolicyOption
NetworkPolicyRuleDefinition
NetworkPolicyRuleOption
PrepareStatement
PREPARE ...
QualifiedReplica
RaiseStatement
RAISE ...
ReassignOwnedStatement
REASSIGN OWNED ...
RefreshAtOptionValue
RefreshEveryOptionValue
ReplicaDefinition
ReplicaOption
An option in a CREATE CLUSTER REPLICA statement.
ResetVariableStatement
RESET <variable>
RevokePrivilegesStatement
REVOKE ...
RevokeRoleStatement
REVOKE ...
RollbackStatement
ROLLBACK [ TRANSACTION | WORK ] [ AND [ NO ] CHAIN ]
SelectStatement
SELECT
SetTransactionStatement
SET TRANSACTION ...
SetVariableStatement
SET <variable>
ShowColumnsStatement
SHOW COLUMNS
ShowCreateClusterStatement
ShowCreateConnectionStatement
SHOW [REDACTED] CREATE CONNECTION <connection>
ShowCreateIndexStatement
SHOW [REDACTED] CREATE INDEX <index>
ShowCreateMaterializedViewStatement
SHOW [REDACTED] CREATE MATERIALIZED VIEW <name>
ShowCreateSinkStatement
SHOW [REDACTED] CREATE SINK <sink>
ShowCreateSourceStatement
SHOW [REDACTED] CREATE SOURCE <source>
ShowCreateTableStatement
SHOW [REDACTED] CREATE TABLE <table>
ShowCreateViewStatement
SHOW [REDACTED] CREATE VIEW <view>
ShowObjectsStatement
SHOW <object>S
ShowVariableStatement
SHOW <variable>
StartTransactionStatement
{ BEGIN [ TRANSACTION | WORK ] | START TRANSACTION } ...
SubscribeOption
SubscribeStatement
SUBSCRIBE
TableFromSourceOption
TableOption
UpdateStatement
UPDATE
ValidateConnectionStatement
VALIDATE CONNECTION
ViewDefinition

Enums§

AbbreviatedGrantOrRevokeStatement
AlterClusterAction
AlterConnectionAction
AlterConnectionOptionName
AlterIndexAction
AlterRoleOption
ALTER ROLE ... [ WITH | SET ] ...
AlterSinkAction
AlterSourceAction
AlterSourceAddSubsourceOptionName
AsOf
ClusterAlterOptionName
ClusterAlterOptionValue
ClusterAlterUntilReadyOptionName
ClusterFeatureName
ClusterOptionName
ClusterScheduleOptionValue
CommentObjectType
ContinualTaskStmt
CopyDirection
CopyOptionName
CopyRelation
CopyTarget
CreateContinualTaskSugar
CreateSinkOptionName
An option in a CREATE SINK statement.
CreateSubsourceOptionName
An option in a CREATE SUBSOURCE statement.
CreateTypeAs
CREATE TYPE .. AS <TYPE>
CreateTypeListOptionName
CreateTypeMapOptionName
DiscardTarget
ExplainAnalyzeComputationProperty
ExplainAnalyzeProperty
ExplainFormat
ExplainPlanOptionName
ExplainSinkSchemaFor
ExplainStage
Specifies what Statement::ExplainPlan is actually explained.
Explainee
What is being explained. The bools mean whether this is an EXPLAIN BROKEN.
ExternalReferences
Specifies which set of external references to generate a source export for in a CREATE SOURCE statement.
FetchDirection
FetchOptionName
GrantTargetAllSpecification
GrantTargetSpecification
GrantTargetSpecificationInner
IfExistsBehavior
IndexOptionName
An option in a CREATE CLUSTER statement.
InsertSource
KafkaBrokerAwsPrivatelinkOptionName
KafkaBrokerTunnel
NamedPlan
An enum of named plans that identifies specific stages in an optimizer trace where these plans can be found.
NetworkPolicyOptionName
NetworkPolicyRuleOptionName
NoticeSeverity
ObjectType
Privilege
PrivilegeSpecification
RefreshOptionValue
ReplicaOptionName
RoleAttribute
Attributes that can be attached to roles.
SetRoleVar
ALTER ROLE role_name [SET | RESET] ...
SetVariableTo
SetVariableValue
ShowObjectType
ShowStatement
ShowStatementFilter
Statement
A top-level statement (SELECT, INSERT, CREATE, etc.)
StatementKind
SubscribeOptionName
SubscribeRelation
SystemObjectType
TableFromSourceColumns
CREATE TABLE .. FROM SOURCE columns specification can have 3 states: Before purification they can be NotSpecified or Named by the user to specify the column names to use. After purification they can be in any of the 3 states. For some source types we define the columns during purification and for others the columns are defined during planning based on the encoding option of the source.
TableFromSourceOptionName
TableOptionName
TargetRoleSpecification
TransactionAccessMode
TransactionIsolationLevel
TransactionMode
WithOptionValue

Functions§

statement_kind_label_value
A static str for each statement kind