@@ -5015,6 +5015,7 @@ fn parse_create_view() {
5015
5015
cluster_by,
5016
5016
destination_table,
5017
5017
columns_with_types,
5018
+ late_binding,
5018
5019
} => {
5019
5020
assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
5020
5021
assert_eq ! ( Vec :: <Ident >:: new( ) , columns) ;
@@ -5025,6 +5026,7 @@ fn parse_create_view() {
5025
5026
assert_eq ! ( cluster_by, vec![ ] ) ;
5026
5027
assert_eq ! ( destination_table, None ) ;
5027
5028
assert_eq ! ( columns_with_types, vec![ ] ) ;
5029
+ assert_eq ! ( late_binding, false ) ;
5028
5030
}
5029
5031
_ => unreachable ! ( ) ,
5030
5032
}
@@ -5067,6 +5069,7 @@ fn parse_create_view_with_columns() {
5067
5069
cluster_by,
5068
5070
destination_table,
5069
5071
columns_with_types,
5072
+ late_binding,
5070
5073
} => {
5071
5074
assert_eq ! ( "v" , name. to_string( ) ) ;
5072
5075
assert_eq ! ( columns, vec![ Ident :: new( "has" ) , Ident :: new( "cols" ) ] ) ;
@@ -5077,6 +5080,7 @@ fn parse_create_view_with_columns() {
5077
5080
assert_eq ! ( cluster_by, vec![ ] ) ;
5078
5081
assert_eq ! ( destination_table, None ) ;
5079
5082
assert_eq ! ( columns_with_types, vec![ ] ) ;
5083
+ assert_eq ! ( late_binding, false ) ;
5080
5084
}
5081
5085
_ => unreachable ! ( ) ,
5082
5086
}
@@ -5096,6 +5100,7 @@ fn parse_create_or_replace_view() {
5096
5100
cluster_by,
5097
5101
destination_table,
5098
5102
columns_with_types,
5103
+ late_binding,
5099
5104
} => {
5100
5105
assert_eq ! ( "v" , name. to_string( ) ) ;
5101
5106
assert_eq ! ( columns, vec![ ] ) ;
@@ -5106,6 +5111,7 @@ fn parse_create_or_replace_view() {
5106
5111
assert_eq ! ( cluster_by, vec![ ] ) ;
5107
5112
assert_eq ! ( destination_table, None ) ;
5108
5113
assert_eq ! ( columns_with_types, vec![ ] ) ;
5114
+ assert_eq ! ( late_binding, false ) ;
5109
5115
}
5110
5116
_ => unreachable ! ( ) ,
5111
5117
}
@@ -5129,6 +5135,7 @@ fn parse_create_or_replace_materialized_view() {
5129
5135
cluster_by,
5130
5136
destination_table,
5131
5137
columns_with_types,
5138
+ late_binding,
5132
5139
} => {
5133
5140
assert_eq ! ( "v" , name. to_string( ) ) ;
5134
5141
assert_eq ! ( columns, vec![ ] ) ;
@@ -5139,6 +5146,7 @@ fn parse_create_or_replace_materialized_view() {
5139
5146
assert_eq ! ( cluster_by, vec![ ] ) ;
5140
5147
assert_eq ! ( destination_table, None ) ;
5141
5148
assert_eq ! ( columns_with_types, vec![ ] ) ;
5149
+ assert_eq ! ( late_binding, false ) ;
5142
5150
}
5143
5151
_ => unreachable ! ( ) ,
5144
5152
}
@@ -5158,6 +5166,7 @@ fn parse_create_materialized_view() {
5158
5166
cluster_by,
5159
5167
destination_table,
5160
5168
columns_with_types,
5169
+ late_binding,
5161
5170
} => {
5162
5171
assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
5163
5172
assert_eq ! ( Vec :: <Ident >:: new( ) , columns) ;
@@ -5168,6 +5177,7 @@ fn parse_create_materialized_view() {
5168
5177
assert_eq ! ( cluster_by, vec![ ] ) ;
5169
5178
assert_eq ! ( destination_table, None ) ;
5170
5179
assert_eq ! ( columns_with_types, vec![ ] ) ;
5180
+ assert_eq ! ( late_binding, false ) ;
5171
5181
}
5172
5182
_ => unreachable ! ( ) ,
5173
5183
}
@@ -5186,7 +5196,8 @@ fn parse_create_materialized_view_with_cluster_by() {
5186
5196
with_options,
5187
5197
cluster_by,
5188
5198
destination_table,
5189
- columns_with_types
5199
+ columns_with_types,
5200
+ late_binding,
5190
5201
} => {
5191
5202
assert_eq ! ( "myschema.myview" , name. to_string( ) ) ;
5192
5203
assert_eq ! ( Vec :: <Ident >:: new( ) , columns) ;
@@ -5197,6 +5208,7 @@ fn parse_create_materialized_view_with_cluster_by() {
5197
5208
assert_eq ! ( cluster_by, vec![ Ident :: new( "foo" ) ] ) ;
5198
5209
assert_eq ! ( destination_table, None ) ;
5199
5210
assert_eq ! ( columns_with_types, vec![ ] ) ;
5211
+ assert_eq ! ( late_binding, false ) ;
5200
5212
}
5201
5213
_ => unreachable ! ( ) ,
5202
5214
}
0 commit comments