Skip to content

Commit

Permalink
fix alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jayzhan211 committed Feb 28, 2025
1 parent 32224b4 commit f1fefeb
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 21 deletions.
6 changes: 3 additions & 3 deletions datafusion/core/tests/dataframe/dataframe_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,9 +1145,9 @@ async fn test_count_wildcard() -> Result<()> {
.build()
.unwrap();

let expected = "Sort: count(Int64(1)) ASC NULLS LAST [count(Int64(1)):Int64]\
\n Projection: count(Int64(1)) [count(Int64(1)):Int64]\
\n Aggregate: groupBy=[[test.b]], aggr=[[count(Int64(1))]] [b:UInt32, count(Int64(1)):Int64]\
let expected = "Sort: count(*) ASC NULLS LAST [count(*):Int64]\
\n Projection: count(*) [count(*):Int64]\
\n Aggregate: groupBy=[[test.b]], aggr=[[count(Int64(1)) AS count(*)]] [b:UInt32, count(*):Int64]\
\n TableScan: test [a:UInt32, b:UInt32, c:UInt32]";

let formatted_plan = plan.display_indent_schema().to_string();
Expand Down
Loading

0 comments on commit f1fefeb

Please sign in to comment.