You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" Projection: #ROW_NUMBER() PARTITION BY [#s.b] ORDER BY [#s.a ASC NULLS LAST] AS seq, #s.a, #s.b, alias=_data2 [seq:UInt64;N, a:Int64, b:Utf8]",
403
+
" WindowAggr: windowExpr=[[ROW_NUMBER() PARTITION BY [#s.b] ORDER BY [#s.a ASC NULLS LAST]]] [ROW_NUMBER() PARTITION BY [#s.b] ORDER BY [#s.a ASC NULLS LAST]:UInt64;N, a:Int64, b:Utf8]",
404
+
" Projection: #a, #b, alias=s [a:Int64, b:Utf8]",
405
+
" Union [a:Int64, b:Utf8]",
406
+
" Projection: Int64(1) AS a, Utf8(\"aa\") AS b [a:Int64, b:Utf8]",
407
+
" EmptyRelation []",
408
+
" Projection: Int64(3) AS a, Utf8(\"aa\") AS b [a:Int64, b:Utf8]",
409
+
" EmptyRelation []",
410
+
" Projection: Int64(5) AS a, Utf8(\"bb\") AS b [a:Int64, b:Utf8]",
411
+
" EmptyRelation []",
412
+
" Projection: Int64(7) AS a, Utf8(\"bb\") AS b [a:Int64, b:Utf8]",
413
+
" EmptyRelation []",
414
+
];
415
+
let formatted = plan.display_indent_schema().to_string();
416
+
let actual:Vec<&str> = formatted.trim().lines().collect();
417
+
assert_eq!(
418
+
expected, actual,
419
+
"\n\nexpected:\n\n{:#?}\nactual:\n\n{:#?}\n\n",
420
+
expected, actual
421
+
);
422
+
423
+
let results = execute_to_batches(&ctx, sql).await;
0 commit comments