-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Opt](date_add/sub) Throw exception when result of date_add/sub out o…
…f range (#26475)
- Loading branch information
1 parent
d53c38c
commit a7308f5
Showing
3 changed files
with
400 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
...ereids_p0/sql_functions/datetime_functions/test_date_or_datetime_computation_negative.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
-- This file is automatically generated. You should know what you did if you want to edit this | ||
-- !select_nullable_1 -- | ||
\N \N \N | ||
\N \N \N | ||
9998-12-31 9998-12-31 9998-12-31T23:59:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_2 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-11-30 9999-11-30 9999-11-30T23:59:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_3 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-12-24 9999-12-24 9999-12-24T23:59:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_4 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-12-30 9999-12-30 9999-12-30T23:59:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_5 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-12-30T23:00 9999-12-30T23:00 9999-12-31T22:59:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_6 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-12-30T23:59 9999-12-30T23:59 9999-12-31T23:58:59 | ||
\N \N \N | ||
|
||
-- !select_nullable_7 -- | ||
\N \N \N | ||
\N \N \N | ||
9999-12-30T23:59:59 9999-12-30T23:59:59 9999-12-31T23:59:58 | ||
\N \N \N | ||
|
||
-- !select_nullable_8 -- | ||
0001-01-01 0001-01-01 0001-01-01T00:00 | ||
\N \N \N | ||
\N \N \N | ||
\N \N \N | ||
|
||
-- !select_nullable_9 -- | ||
0000-02-01 0000-02-01 0000-02-01T00:00 | ||
\N \N \N | ||
\N \N \N | ||
\N \N \N | ||
|
||
-- !select_nullable_10 -- | ||
0000-01-08 0000-01-08 0000-01-08T00:00 | ||
\N \N \N | ||
\N \N \N | ||
\N \N \N | ||
|
||
-- !select_nullable_11 -- | ||
0000-01-02 0000-01-02 0000-01-02T00:00 | ||
\N \N \N | ||
\N \N \N | ||
\N \N \N | ||
|
||
-- !select_nullable_12 -- | ||
0000-01-01T01:00 0000-01-01T01:00 0000-01-01T01:00 | ||
\N \N \N | ||
9999-12-31T01:00 9999-12-31T01:00 \N | ||
\N \N \N | ||
|
||
-- !select_nullable_13 -- | ||
0000-01-01T00:01 0000-01-01T00:01 0000-01-01T00:01 | ||
\N \N \N | ||
9999-12-31T00:01 9999-12-31T00:01 \N | ||
\N \N \N | ||
|
||
-- !select_nullable_14 -- | ||
0000-01-01T00:00:01 0000-01-01T00:00:01 0000-01-01T00:00:01 | ||
\N \N \N | ||
9999-12-31T00:00:01 9999-12-31T00:00:01 \N | ||
\N \N \N | ||
|
||
-- !select_nullable_15 -- | ||
0000-01-02T00:00 0000-01-02T00:00 0000-01-02T00:00 | ||
\N \N \N | ||
\N \N \N | ||
\N \N \N | ||
|
Oops, something went wrong.