Skip to content

Commit 6b8af32

Browse files
committed
fxi ci
fix ci
1 parent 8905c90 commit 6b8af32

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

e2e_test/batch/types/timestamp_ns.slt.part

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ select * from t1;
1414
2 2012-01-01 01:01:01.123456
1515
3 0001-01-01 01:01:01.123456789 BC
1616
4 2213-01-01 01:01:01.123456789
17-
5 null
17+
5 NULL
1818

1919
query T
20-
select * from t1 where v1 is null;
20+
select * from t1 where v2 is null;
2121
----
22-
5 null
22+
5 NULL
2323

2424
query T rowsort
2525
select v1, v2,
@@ -34,7 +34,7 @@ from t1;
3434
2 2012-01-01 01:01:01.123456 21st Century
3535
3 0001-01-01 01:01:01.123456789 BC Before 2000
3636
4 2213-01-01 01:01:01.123456789 Future
37-
5 null Future
37+
5 NULL Future
3838

3939
query T rowsort
4040
select v1, v2, coalesce(v2, '1900-01-01 00:00:00') as coalesce_v2 from t1;
@@ -43,7 +43,7 @@ select v1, v2, coalesce(v2, '1900-01-01 00:00:00') as coalesce_v2 from t1;
4343
2 2012-01-01 01:01:01.123456 2012-01-01 01:01:01.123456
4444
3 0001-01-01 01:01:01.123456789 BC 0001-01-01 01:01:01.123456789 BC
4545
4 2213-01-01 01:01:01.123456789 2213-01-01 01:01:01.123456789
46-
5 null 1900-01-01 00:00:00
46+
5 NULL 1900-01-01 00:00:00
4747

4848
query T
4949
select count(v2) as total_rows from t1;
@@ -57,7 +57,7 @@ select * from t1 order by v2;
5757
2 2012-01-01 01:01:01.123456
5858
3 0001-01-01 01:01:01.123456789 BC
5959
4 2213-01-01 01:01:01.123456789
60-
5 null
60+
5 NULL
6161

6262
query T rowsort
6363
select * from t1 where v2 >= '2012-01-01 01:01:01.123456';
@@ -73,7 +73,7 @@ select v1, cast(v2 as date) as date_v2, cast(v2 as timestamp with time zone) as
7373
2 2012-01-01 2012-01-01 01:01:01.123456+00:00
7474
3 0001-01-01 BC 0001-01-01 01:01:01.123456+00:00 BC
7575
4 2213-01-01 2213-01-01 01:01:01.123456+00:00
76-
5 null null
76+
5 NULL NULL
7777

7878
query T rowsort
7979
select v1, date_trunc('day', v2) AS truncated_v2 from t1;
@@ -82,7 +82,7 @@ select v1, date_trunc('day', v2) AS truncated_v2 from t1;
8282
2 2012-01-01 00:00:00
8383
3 0001-01-01 00:00:00 BC
8484
4 2213-01-01 00:00:00
85-
5 null
85+
5 NULL
8686

8787
query T rowsort
8888
select v1, v2 at time zone 'UTC' as v2_utc from t1;
@@ -91,7 +91,7 @@ select v1, v2 at time zone 'UTC' as v2_utc from t1;
9191
2 2012-01-01 01:01:01.123456+00:00
9292
3 0001-01-01 01:01:01.123456+00:00 BC
9393
4 2213-01-01 01:01:01.123456+00:00
94-
5 null
94+
5 NULL
9595

9696
query T rowsort
9797
select v1, to_char(v2, 'YYYY-MM-DD HH24:MI:SS.NS') as formatted_v2 from t1;
@@ -100,7 +100,7 @@ select v1, to_char(v2, 'YYYY-MM-DD HH24:MI:SS.NS') as formatted_v2 from t1;
100100
2 2012-01-01 01:01:01.123456000
101101
3 0001-01-01 01:01:01.123456789 BC
102102
4 2213-01-01 01:01:01.123456789
103-
5 null
103+
5 NULL
104104

105105
query T rowsort
106106
select generate_series('2013-01-01 01:01:01.123456789'::timestamp,'2013-01-01 01:01:05.123456790'::timestamp, '1 s');

0 commit comments

Comments
 (0)