waitingkuo commented on code in PR #6818:
URL: https://github.com/apache/arrow-datafusion/pull/6818#discussion_r1252533308


##########
datafusion/core/tests/sqllogictests/test_files/timestamps.slt:
##########
@@ -1281,7 +1281,14 @@ SELECT
 ----
 true false true true
 
+# date_trunc with timestamptz
+statement ok
+set timezone to '+08:00';
 
+query P
+select date_trunc('hour', timestamptz '2000-01-01T00:00:00');
+----
+2000-01-01T00:00:00+08:00

Review Comment:
   i think we should add a test case that truncate the day



-- 
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]

Reply via email to