ClickHouse/tests/queries/0_stateless/02876_yyyymmddtodate.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

85 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-09-11 12:40:49 +00:00
--- YYYYMMDDToDate
Invalid input types are rejected
Result type is Date
Date
Nullable(Date)
Check correctness, integer arguments
1970-01-01
1970-01-01
2020-02-29
2023-09-11
2149-06-06
1970-01-01
Check correctness, float arguments
1970-01-01
1970-01-01
2020-02-29
2023-09-11
2149-06-06
1970-01-01
Check correctness, decimal arguments
1970-01-01
1970-01-01
2020-02-29
2023-09-11
2149-06-06
1970-01-01
Special cases
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
2023-02-28
1970-01-01
1970-01-01
\N
1984-01-21
2023-09-11
--- YYYYMMDDToDate32
Invalid input types are rejected
Result type is Date32
Date32
Nullable(Date32)
Check correctness, integer arguments
1970-01-01
1900-01-01
2020-02-29
2023-09-11
2299-12-31
1970-01-01
Check correctness, float arguments
1970-01-01
1900-01-01
2020-02-29
2023-09-11
2299-12-31
1970-01-01
Check correctness, decimal arguments
1970-01-01
1900-01-01
2020-02-29
2023-09-11
2299-12-31
1970-01-01
Special cases
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
1970-01-01
2023-02-28
1970-01-01
1970-01-01
\N
1984-01-21
2023-09-11