Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Feb 6, 2025
1 parent d314a61 commit 18a24da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
3 2023-01-01T00:00:00.123458 2023-01-01T00:00:00.123454 2023-01-01T00:00:00.125456 2023-01-01T00:00:00.121456

-- !select_null_datetime --
1 2023-01-01T00:00:00.000002 2022-12-31T23:59:59.999998 2023-01-01T00:00:00.002 2022-12-31T23:59:59.998
2 2023-01-01T00:00:00.123002 2023-01-01T00:00:00.122998 2023-01-01T00:00:00.125 2023-01-01T00:00:00.121
3 2023-01-01T00:00:00.123458 2023-01-01T00:00:00.123454 2023-01-01T00:00:00.125456 2023-01-01T00:00:00.121456
1 2023-01-01T00:00 2023-01-01T00:00:00.000002 2022-12-31T23:59:59.999998
2 2023-01-01T00:00:00.123 2023-01-01T00:00:00.123002 2023-01-01T00:00:00.122998
3 2023-01-01T00:00:00.123 2023-01-01T00:00:00.123002 2023-01-01T00:00:00.122998

Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,9 @@ suite("test_from_millisecond_microsecond") {
qt_select_null_datetime """
select
id,
cast(t as DATETIME(3)),
microseconds_add(cast(t as DATETIME(3)),2),
microseconds_sub(cast(t as DATETIME(3)),2),
milliseconds_add(cast(t as DATETIME(3)),2),
milliseconds_sub(cast(t as DATETIME(3)),2)
microseconds_sub(cast(t as DATETIME(3)),2)
from millimicro
order by id;
"""
Expand Down

0 comments on commit 18a24da

Please sign in to comment.