Omega359 commented on issue #13212:
URL: https://github.com/apache/datafusion/issues/13212#issuecomment-3651354231

   ```
   ./target/release/datafusion-cli 
   DataFusion CLI v51.0.0
   > SET datafusion.execution.time_zone = '+08:00';
   0 row(s) fetched. 
   Elapsed 0.001 seconds.
   
   > SELECT '2024-11-01T00:00:00.0+00:00'::timestamptz - 
'2024-11-01T00:00:00.0'::timestamp;
   +---------------------------------------------------------------------+
   | Utf8("2024-11-01T00:00:00.0+00:00") - Utf8("2024-11-01T00:00:00.0") |
   +---------------------------------------------------------------------+
   | 0 days 0 hours 0 mins 0.000000000 secs                              |
   +---------------------------------------------------------------------+
   1 row(s) fetched. 
   Elapsed 0.001 seconds.
   
   > SELECT '2024-11-01T00:00:00.0+00:00'::timestamptz - 
'2024-11-01T00:00:00.0+08:00'::timestamptz;
   +---------------------------------------------------------------------------+
   | Utf8("2024-11-01T00:00:00.0+00:00") - Utf8("2024-11-01T00:00:00.0+08:00") |
   +---------------------------------------------------------------------------+
   | 0 days 8 hours 0 mins 0.000000000 secs                                    |
   +---------------------------------------------------------------------------+
   1 row(s) fetched. 
   Elapsed 0.001 seconds.
   
   > SELECT '2024-11-01T00:00:00.0'::timestamptz ;
   +-------------------------------+
   | Utf8("2024-11-01T00:00:00.0") |
   +-------------------------------+
   | 2024-11-01T00:00:00+08:00     |
   +-------------------------------+
   1 row(s) fetched. 
   Elapsed 0.001 seconds.
   
   ```
   It looks like the examples in this ticket not been completed resolved.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to