Skip to content

Commit 70b9d26

Browse files
committed
update test
1 parent cdf55dd commit 70b9d26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datafusion/core/tests/user_defined/user_defined_plan.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ async fn topk_query() -> Result<()> {
262262
async fn topk_plan() -> Result<()> {
263263
let ctx = setup_table(make_topk_context()).await?;
264264

265+
#[rustfmt::skip]
265266
let mut expected = ["| logical_plan after topk | TopK: k=3 |",
266-
"| | TableScan: sales projection=[customer_id,revenue] |"].join("\n");
267+
"| | TableScan:salesprojection=[customer_id,revenue]preferred_ordering=[sales.revenueDESCNULLSFIRST] |"].join("\n");
267268

268269
let explain_query = format!("EXPLAIN VERBOSE {QUERY}");
269270
let actual_output = exec_sql(&ctx, &explain_query).await?;

0 commit comments

Comments
 (0)