@@ -6279,6 +6279,7 @@ fn parse_create_view() {
62796279 with_no_schema_binding : late_binding,
62806280 if_not_exists,
62816281 temporary,
6282+ to,
62826283 } => {
62836284 assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
62846285 assert_eq ! ( Vec :: <ViewColumnDef >:: new( ) , columns) ;
@@ -6291,6 +6292,7 @@ fn parse_create_view() {
62916292 assert ! ( !late_binding) ;
62926293 assert ! ( !if_not_exists) ;
62936294 assert ! ( !temporary) ;
6295+ assert ! ( to. is_none( ) )
62946296 }
62956297 _ => unreachable ! ( ) ,
62966298 }
@@ -6335,6 +6337,7 @@ fn parse_create_view_with_columns() {
63356337 with_no_schema_binding : late_binding,
63366338 if_not_exists,
63376339 temporary,
6340+ to,
63386341 } => {
63396342 assert_eq ! ( "v" , name. to_string( ) ) ;
63406343 assert_eq ! (
@@ -6357,6 +6360,7 @@ fn parse_create_view_with_columns() {
63576360 assert ! ( !late_binding) ;
63586361 assert ! ( !if_not_exists) ;
63596362 assert ! ( !temporary) ;
6363+ assert ! ( to. is_none( ) )
63606364 }
63616365 _ => unreachable ! ( ) ,
63626366 }
@@ -6378,6 +6382,7 @@ fn parse_create_view_temporary() {
63786382 with_no_schema_binding : late_binding,
63796383 if_not_exists,
63806384 temporary,
6385+ to,
63816386 } => {
63826387 assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
63836388 assert_eq ! ( Vec :: <ViewColumnDef >:: new( ) , columns) ;
@@ -6390,6 +6395,7 @@ fn parse_create_view_temporary() {
63906395 assert ! ( !late_binding) ;
63916396 assert ! ( !if_not_exists) ;
63926397 assert ! ( temporary) ;
6398+ assert ! ( to. is_none( ) )
63936399 }
63946400 _ => unreachable ! ( ) ,
63956401 }
@@ -6411,6 +6417,7 @@ fn parse_create_or_replace_view() {
64116417 with_no_schema_binding : late_binding,
64126418 if_not_exists,
64136419 temporary,
6420+ to,
64146421 } => {
64156422 assert_eq ! ( "v" , name. to_string( ) ) ;
64166423 assert_eq ! ( columns, vec![ ] ) ;
@@ -6423,6 +6430,7 @@ fn parse_create_or_replace_view() {
64236430 assert ! ( !late_binding) ;
64246431 assert ! ( !if_not_exists) ;
64256432 assert ! ( !temporary) ;
6433+ assert ! ( to. is_none( ) )
64266434 }
64276435 _ => unreachable ! ( ) ,
64286436 }
@@ -6448,6 +6456,7 @@ fn parse_create_or_replace_materialized_view() {
64486456 with_no_schema_binding : late_binding,
64496457 if_not_exists,
64506458 temporary,
6459+ to,
64516460 } => {
64526461 assert_eq ! ( "v" , name. to_string( ) ) ;
64536462 assert_eq ! ( columns, vec![ ] ) ;
@@ -6460,6 +6469,7 @@ fn parse_create_or_replace_materialized_view() {
64606469 assert ! ( !late_binding) ;
64616470 assert ! ( !if_not_exists) ;
64626471 assert ! ( !temporary) ;
6472+ assert ! ( to. is_none( ) )
64636473 }
64646474 _ => unreachable ! ( ) ,
64656475 }
@@ -6481,6 +6491,7 @@ fn parse_create_materialized_view() {
64816491 with_no_schema_binding : late_binding,
64826492 if_not_exists,
64836493 temporary,
6494+ to,
64846495 } => {
64856496 assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
64866497 assert_eq ! ( Vec :: <ViewColumnDef >:: new( ) , columns) ;
@@ -6493,6 +6504,7 @@ fn parse_create_materialized_view() {
64936504 assert ! ( !late_binding) ;
64946505 assert ! ( !if_not_exists) ;
64956506 assert ! ( !temporary) ;
6507+ assert ! ( to. is_none( ) )
64966508 }
64976509 _ => unreachable ! ( ) ,
64986510 }
@@ -6514,6 +6526,7 @@ fn parse_create_materialized_view_with_cluster_by() {
65146526 with_no_schema_binding : late_binding,
65156527 if_not_exists,
65166528 temporary,
6529+ to,
65176530 } => {
65186531 assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
65196532 assert_eq ! ( Vec :: <ViewColumnDef >:: new( ) , columns) ;
@@ -6526,6 +6539,7 @@ fn parse_create_materialized_view_with_cluster_by() {
65266539 assert ! ( !late_binding) ;
65276540 assert ! ( !if_not_exists) ;
65286541 assert ! ( !temporary) ;
6542+ assert ! ( to. is_none( ) )
65296543 }
65306544 _ => unreachable ! ( ) ,
65316545 }
0 commit comments