@@ -59,16 +59,17 @@ pub use self::dcl::{
5959} ;
6060pub use self :: ddl:: {
6161 AlterColumnOperation , AlterConnectorOwner , AlterIndexOperation , AlterPolicyOperation ,
62- AlterTableAlgorithm , AlterTableLock , AlterTableOperation , AlterType , AlterTypeAddValue ,
63- AlterTypeAddValuePosition , AlterTypeOperation , AlterTypeRename , AlterTypeRenameValue ,
64- ClusteredBy , ColumnDef , ColumnOption , ColumnOptionDef , ColumnOptions , ColumnPolicy ,
65- ColumnPolicyProperty , ConstraintCharacteristics , CreateConnector , CreateDomain , CreateFunction ,
66- CreateIndex , CreateTable , Deduplicate , DeferrableInitial , DropBehavior , GeneratedAs ,
67- GeneratedExpressionMode , IdentityParameters , IdentityProperty , IdentityPropertyFormatKind ,
68- IdentityPropertyKind , IdentityPropertyOrder , IndexColumn , IndexOption , IndexType ,
69- KeyOrIndexDisplay , NullsDistinctOption , Owner , Partition , ProcedureParam , ReferentialAction ,
70- RenameTableNameKind , ReplicaIdentity , TableConstraint , TagsColumnOption ,
71- UserDefinedTypeCompositeAttributeDef , UserDefinedTypeRepresentation , ViewColumnDef ,
62+ AlterSchema , AlterSchemaOperation , AlterTableAlgorithm , AlterTableLock , AlterTableOperation ,
63+ AlterType , AlterTypeAddValue , AlterTypeAddValuePosition , AlterTypeOperation , AlterTypeRename ,
64+ AlterTypeRenameValue , ClusteredBy , ColumnDef , ColumnOption , ColumnOptionDef , ColumnOptions ,
65+ ColumnPolicy , ColumnPolicyProperty , ConstraintCharacteristics , CreateConnector , CreateDomain ,
66+ CreateFunction , CreateIndex , CreateTable , Deduplicate , DeferrableInitial , DropBehavior ,
67+ GeneratedAs , GeneratedExpressionMode , IdentityParameters , IdentityProperty ,
68+ IdentityPropertyFormatKind , IdentityPropertyKind , IdentityPropertyOrder , IndexColumn ,
69+ IndexOption , IndexType , KeyOrIndexDisplay , NullsDistinctOption , Owner , Partition ,
70+ ProcedureParam , ReferentialAction , RenameTableNameKind , ReplicaIdentity , TableConstraint ,
71+ TagsColumnOption , UserDefinedTypeCompositeAttributeDef , UserDefinedTypeRepresentation ,
72+ ViewColumnDef ,
7273} ;
7374pub use self :: dml:: { Delete , Insert } ;
7475pub use self :: operator:: { BinaryOperator , UnaryOperator } ;
@@ -3417,6 +3418,11 @@ pub enum Statement {
34173418 end_token : AttachedToken ,
34183419 } ,
34193420 /// ```sql
3421+ /// ALTER SCHEMA
3422+ /// ```
3423+ /// See [BigQuery](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_collate_statement)
3424+ AlterSchema ( AlterSchema ) ,
3425+ /// ```sql
34203426 /// ALTER INDEX
34213427 /// ```
34223428 AlterIndex {
@@ -6365,6 +6371,7 @@ impl fmt::Display for Statement {
63656371 Statement :: Remove ( command) => write ! ( f, "REMOVE {command}" ) ,
63666372 Statement :: ExportData ( e) => write ! ( f, "{e}" ) ,
63676373 Statement :: CreateUser ( s) => write ! ( f, "{s}" ) ,
6374+ Statement :: AlterSchema ( s) => write ! ( f, "{s}" ) ,
63686375 }
63696376 }
63706377}
0 commit comments