waitingkuo commented on issue #765:
URL:
https://github.com/apache/arrow-datafusion/issues/765#issuecomment-1263648603
@alamb i think `to_timestamp` automatically append your local time zone if
there's no timezone in your time string, and convert it back to utc (note that
the underline value doesn't change), and then drop the timezone
i'm in utc+8, here's what i have
```bash
❯ select to_timestamp('2021-07-20 23:29:30');
+------------------------------------------+
| totimestamp(Utf8("2021-07-20 23:29:30")) |
+------------------------------------------+
| 2021-07-20 15:29:30 |
+------------------------------------------+
1 row in set. Query took 0.001 seconds.
```
I assume that you are in negative time zone so that the result timestamp is
larger
--
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]