@@ -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 } ;
@@ -3388,6 +3389,11 @@ pub enum Statement {
33883389 end_token : AttachedToken ,
33893390 } ,
33903391 /// ```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
33913397 /// ALTER INDEX
33923398 /// ```
33933399 AlterIndex {
@@ -6336,6 +6342,7 @@ impl fmt::Display for Statement {
63366342 Statement :: Remove ( command) => write ! ( f, "REMOVE {command}" ) ,
63376343 Statement :: ExportData ( e) => write ! ( f, "{e}" ) ,
63386344 Statement :: CreateUser ( s) => write ! ( f, "{s}" ) ,
6345+ Statement :: AlterSchema ( s) => write ! ( f, "{s}" ) ,
63396346 }
63406347 }
63416348}
0 commit comments