diff --git a/e2e_test/batch/types/timestamp_ns.slt.part b/e2e_test/batch/types/timestamp_ns.slt.part index a5888d1e2f41..0f1b06df558d 100644 --- a/e2e_test/batch/types/timestamp_ns.slt.part +++ b/e2e_test/batch/types/timestamp_ns.slt.part @@ -14,12 +14,12 @@ select * from t1; 2 2012-01-01 01:01:01.123456 3 0001-01-01 01:01:01.123456789 BC 4 2213-01-01 01:01:01.123456789 -5 null +5 NULL query T select * from t1 where v1 is null; ---- -5 null +5 NULL query T rowsort select v1, v2, @@ -34,7 +34,7 @@ from t1; 2 2012-01-01 01:01:01.123456 21st Century 3 0001-01-01 01:01:01.123456789 BC Before 2000 4 2213-01-01 01:01:01.123456789 Future -5 null Future +5 NULL Future query T rowsort 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; 2 2012-01-01 01:01:01.123456 2012-01-01 01:01:01.123456 3 0001-01-01 01:01:01.123456789 BC 0001-01-01 01:01:01.123456789 BC 4 2213-01-01 01:01:01.123456789 2213-01-01 01:01:01.123456789 -5 null 1900-01-01 00:00:00 +5 NULL 1900-01-01 00:00:00 query T select count(v2) as total_rows from t1; @@ -57,7 +57,7 @@ select * from t1 order by v2; 2 2012-01-01 01:01:01.123456 3 0001-01-01 01:01:01.123456789 BC 4 2213-01-01 01:01:01.123456789 -5 null +5 NULL query T rowsort 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 2 2012-01-01 2012-01-01 01:01:01.123456+00:00 3 0001-01-01 BC 0001-01-01 01:01:01.123456+00:00 BC 4 2213-01-01 2213-01-01 01:01:01.123456+00:00 -5 null null +5 NULL NULL query T rowsort 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; 2 2012-01-01 00:00:00 3 0001-01-01 00:00:00 BC 4 2213-01-01 00:00:00 -5 null +5 NULL query T rowsort 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; 2 2012-01-01 01:01:01.123456+00:00 3 0001-01-01 01:01:01.123456+00:00 BC 4 2213-01-01 01:01:01.123456+00:00 -5 null +5 NULL query T rowsort 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; 2 2012-01-01 01:01:01.123456000 3 0001-01-01 01:01:01.123456789 BC 4 2213-01-01 01:01:01.123456789 -5 null +5 NULL query T rowsort select generate_series('2013-01-01 01:01:01.123456789'::timestamp,'2013-01-01 01:01:05.123456790'::timestamp, '1 s');