@@ -176,9 +176,9 @@ async fn csv_explain_plans() {
176176 // Verify schema
177177 let expected = vec ! [
178178 "Explain [plan_type:Utf8, plan:Utf8]" ,
179- " Projection: aggregate_test_100.c1 [c1:Utf8 ]" ,
180- " Filter: aggregate_test_100.c2 > Int64(10) [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]" ,
181- " TableScan: aggregate_test_100 [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]" ,
179+ " Projection: aggregate_test_100.c1 [c1:Utf8View ]" ,
180+ " Filter: aggregate_test_100.c2 > Int64(10) [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]" ,
181+ " TableScan: aggregate_test_100 [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]" ,
182182 ] ;
183183 let formatted = plan. display_indent_schema ( ) . to_string ( ) ;
184184 let actual: Vec < & str > = formatted. trim ( ) . lines ( ) . collect ( ) ;
@@ -222,11 +222,11 @@ async fn csv_explain_plans() {
222222 " {" ,
223223 " graph[label=\" Detailed LogicalPlan\" ]" ,
224224 " 7[shape=box label=\" Explain\\ nSchema: [plan_type:Utf8, plan:Utf8]\" ]" ,
225- " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8 ]\" ]" ,
225+ " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8View ]\" ]" ,
226226 " 7 -> 8 [arrowhead=none, arrowtail=normal, dir=back]" ,
227- " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int64(10)\\ nSchema: [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]\" ]" ,
227+ " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int64(10)\\ nSchema: [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]\" ]" ,
228228 " 8 -> 9 [arrowhead=none, arrowtail=normal, dir=back]" ,
229- " 10[shape=box label=\" TableScan: aggregate_test_100\\ nSchema: [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]\" ]" ,
229+ " 10[shape=box label=\" TableScan: aggregate_test_100\\ nSchema: [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]\" ]" ,
230230 " 9 -> 10 [arrowhead=none, arrowtail=normal, dir=back]" ,
231231 " }" ,
232232 "}" ,
@@ -250,9 +250,9 @@ async fn csv_explain_plans() {
250250 // Verify schema
251251 let expected = vec ! [
252252 "Explain [plan_type:Utf8, plan:Utf8]" ,
253- " Projection: aggregate_test_100.c1 [c1:Utf8 ]" ,
254- " Filter: aggregate_test_100.c2 > Int8(10) [c1:Utf8 , c2:Int8]" ,
255- " TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)] [c1:Utf8 , c2:Int8]" ,
253+ " Projection: aggregate_test_100.c1 [c1:Utf8View ]" ,
254+ " Filter: aggregate_test_100.c2 > Int8(10) [c1:Utf8View , c2:Int8]" ,
255+ " TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)] [c1:Utf8View , c2:Int8]" ,
256256 ] ;
257257 let formatted = plan. display_indent_schema ( ) . to_string ( ) ;
258258 let actual: Vec < & str > = formatted. trim ( ) . lines ( ) . collect ( ) ;
@@ -296,11 +296,11 @@ async fn csv_explain_plans() {
296296 " {" ,
297297 " graph[label=\" Detailed LogicalPlan\" ]" ,
298298 " 7[shape=box label=\" Explain\\ nSchema: [plan_type:Utf8, plan:Utf8]\" ]" ,
299- " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8 ]\" ]" ,
299+ " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8View ]\" ]" ,
300300 " 7 -> 8 [arrowhead=none, arrowtail=normal, dir=back]" ,
301- " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int8(10)\\ nSchema: [c1:Utf8 , c2:Int8]\" ]" ,
301+ " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int8(10)\\ nSchema: [c1:Utf8View , c2:Int8]\" ]" ,
302302 " 8 -> 9 [arrowhead=none, arrowtail=normal, dir=back]" ,
303- " 10[shape=box label=\" TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)]\\ nSchema: [c1:Utf8 , c2:Int8]\" ]" ,
303+ " 10[shape=box label=\" TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)]\\ nSchema: [c1:Utf8View , c2:Int8]\" ]" ,
304304 " 9 -> 10 [arrowhead=none, arrowtail=normal, dir=back]" ,
305305 " }" ,
306306 "}" ,
@@ -398,9 +398,9 @@ async fn csv_explain_verbose_plans() {
398398 // Verify schema
399399 let expected = vec ! [
400400 "Explain [plan_type:Utf8, plan:Utf8]" ,
401- " Projection: aggregate_test_100.c1 [c1:Utf8 ]" ,
402- " Filter: aggregate_test_100.c2 > Int64(10) [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]" ,
403- " TableScan: aggregate_test_100 [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]" ,
401+ " Projection: aggregate_test_100.c1 [c1:Utf8View ]" ,
402+ " Filter: aggregate_test_100.c2 > Int64(10) [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]" ,
403+ " TableScan: aggregate_test_100 [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]" ,
404404 ] ;
405405 let formatted = dataframe. logical_plan ( ) . display_indent_schema ( ) . to_string ( ) ;
406406 let actual: Vec < & str > = formatted. trim ( ) . lines ( ) . collect ( ) ;
@@ -444,11 +444,11 @@ async fn csv_explain_verbose_plans() {
444444 " {" ,
445445 " graph[label=\" Detailed LogicalPlan\" ]" ,
446446 " 7[shape=box label=\" Explain\\ nSchema: [plan_type:Utf8, plan:Utf8]\" ]" ,
447- " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8 ]\" ]" ,
447+ " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8View ]\" ]" ,
448448 " 7 -> 8 [arrowhead=none, arrowtail=normal, dir=back]" ,
449- " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int64(10)\\ nSchema: [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]\" ]" ,
449+ " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int64(10)\\ nSchema: [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]\" ]" ,
450450 " 8 -> 9 [arrowhead=none, arrowtail=normal, dir=back]" ,
451- " 10[shape=box label=\" TableScan: aggregate_test_100\\ nSchema: [c1:Utf8 , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8 ]\" ]" ,
451+ " 10[shape=box label=\" TableScan: aggregate_test_100\\ nSchema: [c1:Utf8View , c2:Int8, c3:Int16, c4:Int16, c5:Int32, c6:Int64, c7:Int16, c8:Int32, c9:UInt32, c10:UInt64, c11:Float32, c12:Float64, c13:Utf8View ]\" ]" ,
452452 " 9 -> 10 [arrowhead=none, arrowtail=normal, dir=back]" ,
453453 " }" ,
454454 "}" ,
@@ -472,9 +472,9 @@ async fn csv_explain_verbose_plans() {
472472 // Verify schema
473473 let expected = vec ! [
474474 "Explain [plan_type:Utf8, plan:Utf8]" ,
475- " Projection: aggregate_test_100.c1 [c1:Utf8 ]" ,
476- " Filter: aggregate_test_100.c2 > Int8(10) [c1:Utf8 , c2:Int8]" ,
477- " TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)] [c1:Utf8 , c2:Int8]" ,
475+ " Projection: aggregate_test_100.c1 [c1:Utf8View ]" ,
476+ " Filter: aggregate_test_100.c2 > Int8(10) [c1:Utf8View , c2:Int8]" ,
477+ " TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)] [c1:Utf8View , c2:Int8]" ,
478478 ] ;
479479 let formatted = plan. display_indent_schema ( ) . to_string ( ) ;
480480 let actual: Vec < & str > = formatted. trim ( ) . lines ( ) . collect ( ) ;
@@ -518,11 +518,11 @@ async fn csv_explain_verbose_plans() {
518518 " {" ,
519519 " graph[label=\" Detailed LogicalPlan\" ]" ,
520520 " 7[shape=box label=\" Explain\\ nSchema: [plan_type:Utf8, plan:Utf8]\" ]" ,
521- " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8 ]\" ]" ,
521+ " 8[shape=box label=\" Projection: aggregate_test_100.c1\\ nSchema: [c1:Utf8View ]\" ]" ,
522522 " 7 -> 8 [arrowhead=none, arrowtail=normal, dir=back]" ,
523- " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int8(10)\\ nSchema: [c1:Utf8 , c2:Int8]\" ]" ,
523+ " 9[shape=box label=\" Filter: aggregate_test_100.c2 > Int8(10)\\ nSchema: [c1:Utf8View , c2:Int8]\" ]" ,
524524 " 8 -> 9 [arrowhead=none, arrowtail=normal, dir=back]" ,
525- " 10[shape=box label=\" TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)]\\ nSchema: [c1:Utf8 , c2:Int8]\" ]" ,
525+ " 10[shape=box label=\" TableScan: aggregate_test_100 projection=[c1, c2], partial_filters=[aggregate_test_100.c2 > Int8(10)]\\ nSchema: [c1:Utf8View , c2:Int8]\" ]" ,
526526 " 9 -> 10 [arrowhead=none, arrowtail=normal, dir=back]" ,
527527 " }" ,
528528 "}" ,
0 commit comments