You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2023/03/04 04:12:39 UTC
[GitHub] [arrow-datafusion] Jefffrey commented on issue #3149: cast to timestamp with time zone drops timezone
Jefffrey commented on issue #3149:
URL: https://github.com/apache/arrow-datafusion/issues/3149#issuecomment-1454377173
Seems resolved as of latest main:
```bash
jeffrey:~/Code/arrow-datafusion/datafusion-cli$ git rev-parse HEAD
e9852074bacd8c891d84eba38b3417aa16a2d18c
jeffrey:~/Code/arrow-datafusion/datafusion-cli$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.12s
Running `/media/jeffrey/1tb_860evo_ssd/.cargo_target_cache/debug/datafusion-cli`
DataFusion CLI v19.0.0
❯ select arrow_typeof(now());
+---------------------------------------+
| arrowtypeof(now()) |
+---------------------------------------+
| Timestamp(Nanosecond, Some("+00:00")) |
+---------------------------------------+
1 row in set. Query took 0.003 seconds.
❯ select arrow_typeof(now()::timestamp with time zone);
+---------------------------------------+
| arrowtypeof(now()) |
+---------------------------------------+
| Timestamp(Nanosecond, Some("+00:00")) |
+---------------------------------------+
1 row in set. Query took 0.002 seconds.
❯
```
I think might have been resolved by https://github.com/apache/arrow-datafusion/pull/3698
cc @waitingkuo @alamb
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org