@@ -59,16 +59,17 @@ pub use self::dcl::{
59
59
} ;
60
60
pub use self :: ddl:: {
61
61
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 ,
72
73
} ;
73
74
pub use self :: dml:: { Delete , Insert } ;
74
75
pub use self :: operator:: { BinaryOperator , UnaryOperator } ;
@@ -3388,6 +3389,11 @@ pub enum Statement {
3388
3389
end_token : AttachedToken ,
3389
3390
} ,
3390
3391
/// ```sql
3392
+ /// ALTER SCHEMA
3393
+ /// ```
3394
+ /// See [BigQuery](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_collate_statement)
3395
+ AlterSchema ( AlterSchema ) ,
3396
+ /// ```sql
3391
3397
/// ALTER INDEX
3392
3398
/// ```
3393
3399
AlterIndex {
@@ -6336,6 +6342,7 @@ impl fmt::Display for Statement {
6336
6342
Statement :: Remove ( command) => write ! ( f, "REMOVE {command}" ) ,
6337
6343
Statement :: ExportData ( e) => write ! ( f, "{e}" ) ,
6338
6344
Statement :: CreateUser ( s) => write ! ( f, "{s}" ) ,
6345
+ Statement :: AlterSchema ( s) => write ! ( f, "{s}" ) ,
6339
6346
}
6340
6347
}
6341
6348
}
0 commit comments