@@ -6780,6 +6780,7 @@ pub enum ActionCreateObjectType {
67806780 OrganiationListing ,
67816781 ReplicationGroup ,
67826782 Role ,
6783+ Schema ,
67836784 Share ,
67846785 User ,
67856786 Warehouse ,
@@ -6801,6 +6802,7 @@ impl fmt::Display for ActionCreateObjectType {
68016802 ActionCreateObjectType :: OrganiationListing => write ! ( f, "ORGANIZATION LISTING" ) ,
68026803 ActionCreateObjectType :: ReplicationGroup => write ! ( f, "REPLICATION GROUP" ) ,
68036804 ActionCreateObjectType :: Role => write ! ( f, "ROLE" ) ,
6805+ ActionCreateObjectType :: Schema => write ! ( f, "SCHEMA" ) ,
68046806 ActionCreateObjectType :: Share => write ! ( f, "SHARE" ) ,
68056807 ActionCreateObjectType :: User => write ! ( f, "USER" ) ,
68066808 ActionCreateObjectType :: Warehouse => write ! ( f, "WAREHOUSE" ) ,
@@ -7038,6 +7040,8 @@ pub enum GrantObjects {
70387040 AllMaterializedViewsInSchema { schemas : Vec < ObjectName > } ,
70397041 /// Grant privileges on `ALL EXTERNAL TABLES IN SCHEMA <schema_name> [, ...]`
70407042 AllExternalTablesInSchema { schemas : Vec < ObjectName > } ,
7043+ /// Grant privileges on `ALL FUNCTIONS IN SCHEMA <schema_name> [, ...]`
7044+ AllFunctionsInSchema { schemas : Vec < ObjectName > } ,
70417045 /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
70427046 FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
70437047 /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
@@ -7158,6 +7162,13 @@ impl fmt::Display for GrantObjects {
71587162 display_comma_separated( schemas)
71597163 )
71607164 }
7165+ GrantObjects :: AllFunctionsInSchema { schemas } => {
7166+ write ! (
7167+ f,
7168+ "ALL FUNCTIONS IN SCHEMA {}" ,
7169+ display_comma_separated( schemas)
7170+ )
7171+ }
71617172 GrantObjects :: FutureSchemasInDatabase { databases } => {
71627173 write ! (
71637174 f,
@@ -7833,6 +7844,7 @@ pub enum ObjectType {
78337844 Stage ,
78347845 Type ,
78357846 User ,
7847+ Stream ,
78367848}
78377849
78387850impl fmt:: Display for ObjectType {
@@ -7849,6 +7861,7 @@ impl fmt::Display for ObjectType {
78497861 ObjectType :: Stage => "STAGE" ,
78507862 ObjectType :: Type => "TYPE" ,
78517863 ObjectType :: User => "USER" ,
7864+ ObjectType :: Stream => "STREAM" ,
78527865 } )
78537866 }
78547867}
0 commit comments