Skip to content

Commit

Permalink
chore(cli): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Dec 31, 2024
1 parent 069a97f commit 8facd68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Filter
├── filters: [t2.rank (#6) = 1, is_true(t2.k (#4) = 12)]
├── estimated rows: 0.00
└── Window
├── output columns: [k (#4), v (#5), rank() OVER ( ORDER BY v DESC) (#6)]
├── output columns: [k (#4), v (#5), rank() OVER (ORDER BY v DESC) (#6)]
├── aggregate function: [rank]
├── partition by: []
├── order by: [v]
Expand Down Expand Up @@ -270,7 +270,7 @@ query T
explain select b, row_number() over (order by b) from tbpush where b > 3;
----
Window
├── output columns: [tbpush.b (#0), row_number() OVER ( ORDER BY b) (#1)]
├── output columns: [tbpush.b (#0), row_number() OVER (ORDER BY b) (#1)]
├── aggregate function: [row_number]
├── partition by: []
├── order by: [b]
Expand Down Expand Up @@ -324,11 +324,11 @@ query T
explain select * from (select b, row_number() over (order by b) from tbpush) where b > 3;
----
Filter
├── output columns: [tbpush.b (#0), row_number() OVER ( ORDER BY b) (#1)]
├── output columns: [tbpush.b (#0), row_number() OVER (ORDER BY b) (#1)]
├── filters: [is_true(tbpush.b (#0) > 3)]
├── estimated rows: 0.00
└── Window
├── output columns: [tbpush.b (#0), row_number() OVER ( ORDER BY b) (#1)]
├── output columns: [tbpush.b (#0), row_number() OVER (ORDER BY b) (#1)]
├── aggregate function: [row_number]
├── partition by: []
├── order by: [b]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ SELECT
FROM
(
SELECT
id, kind, ntile(10) OVER ( ORDER BY per ASC ) AS quantile
id, kind, ntile(10) OVER (ORDER BY per ASC ) AS quantile
FROM
(SELECT * FROM t)
)
Expand Down

0 comments on commit 8facd68

Please sign in to comment.