crepererum commented on code in PR #7850:
URL: https://github.com/apache/arrow-datafusion/pull/7850#discussion_r1363830730
##########
datafusion/sqllogictest/test_files/timestamps.slt:
##########
@@ -1758,3 +1764,10 @@ query T
SELECT arrow_typeof(date_bin(INTERVAL '1 day', time,
'1970-01-01T00:00:00+05:00')) FROM foo LIMIT 1
----
Timestamp(Nanosecond, Some("+05:00"))
+
+
+# timestamp comparison with and without timezone
+query B
+SELECT TIMESTAMPTZ '2022-01-01 20:10:00Z' = TIMESTAMP '2020-01-01'
Review Comment:
maybe add a positive test as well, i.e. when `TIMESTAMPTZ` points to
midnight?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]