Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Dec 30, 2024
1 parent 28e556f commit 0a4a5fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 1 addition & 11 deletions e2e_test/batch/types/timestamp_ns.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ select count(v2) as total_rows from t1;
----
5

query T rowsort
select * from t1 order by v2;
----
1 2013-01-01 01:01:01.123456789
2 2012-01-01 01:01:01.123456
3 0001-01-01 01:01:01.123456789 BC
4 2213-01-01 01:01:01.123456789
5 NULL
6 2013-01-01 01:01:01.123456789

query T rowsort
select * from t1 where v2 >= '2012-01-01 01:01:01.123456';
----
Expand Down Expand Up @@ -139,7 +129,7 @@ select v2, count(*) from t1 group by v2;
NULL 1

query T
select * from t1 order by v2 desc;
select * from t1 order by v2 desc , v1 desc;
----
5 NULL
4 2213-01-01 01:01:01.123456789
Expand Down
4 changes: 2 additions & 2 deletions src/expr/impl/src/scalar/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,10 @@ mod tests {
let extract = |unit| extract_from_time(time, &unit).to_string();
assert_eq!(extract(Hour), "23");
assert_eq!(extract(Minute), "22");
assert_eq!(extract(Second), "57.123450");
assert_eq!(extract(Second), "57.123450000");
assert_eq!(extract(Millisecond), "57123.450000");
assert_eq!(extract(Microsecond), "57123450.000");
assert_eq!(extract(Epoch), "84177.12345000");
assert_eq!(extract(Epoch), "84177.123450000");
}

#[test]
Expand Down

0 comments on commit 0a4a5fa

Please sign in to comment.