mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
test: align chrono and some forked test deps to upstream (#3245)
* test: update chrono and its tests * chore: switch some deps to upstream version * test: update timestamp range in sqlness tests
This commit is contained in:
@@ -30,27 +30,27 @@ INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+100000-01-01 00:00:01.5Z'
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 4);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 4);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59Z', 5);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59Z', 5);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 6);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 6);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59.999Z', 7);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59.999Z', 7);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 8);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 8);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59.999999Z', 9);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59.999999Z', 9);
|
||||
|
||||
Affected Rows: 1
|
||||
|
||||
@@ -67,15 +67,15 @@ SELECT * FROM timestamp_with_precision ORDER BY ts ASC;
|
||||
+-------------------------------+-----+
|
||||
| ts | cnt |
|
||||
+-------------------------------+-----+
|
||||
| -262144-01-01T00:00:00 | 8 |
|
||||
| -262143-01-01T00:00:00 | 8 |
|
||||
| 1677-09-21T00:12:43.145225 | 10 |
|
||||
| 2023-04-04T00:00:00.005200 | 2 |
|
||||
| 2023-04-04T08:00:00.005200 | 1 |
|
||||
| 2262-04-11T23:47:16.854775 | 11 |
|
||||
| +100000-01-01T00:00:01.500 | 3 |
|
||||
| +262143-12-31T23:59:59 | 5 |
|
||||
| +262143-12-31T23:59:59.999 | 7 |
|
||||
| +262143-12-31T23:59:59.999999 | 9 |
|
||||
| +262142-12-31T23:59:59 | 5 |
|
||||
| +262142-12-31T23:59:59.999 | 7 |
|
||||
| +262142-12-31T23:59:59.999999 | 9 |
|
||||
+-------------------------------+-----+
|
||||
|
||||
DROP TABLE timestamp_with_precision;
|
||||
|
||||
@@ -10,17 +10,17 @@ INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('2023-04-04 08:00:00.0052+0
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+100000-01-01 00:00:01.5Z', 3);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 4);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 4);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59Z', 5);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59Z', 5);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 6);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 6);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59.999Z', 7);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59.999Z', 7);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262144-01-01 00:00:00Z', 8);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('-262143-01-01 00:00:00Z', 8);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262143-12-31 23:59:59.999999Z', 9);
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('+262142-12-31 23:59:59.999999Z', 9);
|
||||
|
||||
INSERT INTO timestamp_with_precision(ts,cnt) VALUES ('1677-09-21 00:12:43.145225Z', 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user