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 2024/01/01 00:16:59 UTC
Re: [I] SELECT ... ORDER BY query fails on data with int64 timestamp and timezone field [arrow-datafusion]
Jefffrey commented on issue #959:
URL: https://github.com/apache/arrow-datafusion/issues/959#issuecomment-1873065634
Seems to be working as expected now on latest main.
Via datafusion-cli:
```
❯ select * from '/home/jeffrey/Downloads/flink.parquet' order by reported_date desc limit 10;
+--------------------------+----------------------+----------+-------------+
| system_time | reported_date | province | total_daily |
+--------------------------+----------------------+----------+-------------+
| 2021-08-30T20:38:07.488Z | 2021-08-25T00:00:00Z | ON | 807 |
| 2021-08-30T20:38:07.488Z | 2021-08-25T00:00:00Z | BC | 719 |
| 2021-08-30T20:38:07.488Z | 2021-08-24T00:00:00Z | ON | 634 |
| 2021-08-30T20:38:07.488Z | 2021-08-24T00:00:00Z | BC | 708 |
| 2021-08-30T20:38:07.488Z | 2021-08-23T00:00:00Z | ON | 509 |
| 2021-08-30T20:38:07.488Z | 2021-08-23T00:00:00Z | BC | 559 |
| 2021-08-30T20:38:07.488Z | 2021-08-22T00:00:00Z | BC | 465 |
| 2021-08-30T20:38:07.488Z | 2021-08-22T00:00:00Z | ON | 489 |
| 2021-08-30T20:38:07.488Z | 2021-08-21T00:00:00Z | BC | 563 |
| 2021-08-30T20:38:07.488Z | 2021-08-21T00:00:00Z | ON | 681 |
+--------------------------+----------------------+----------+-------------+
10 rows in set. Query took 0.008 seconds.
❯
```
Can see it properly displays timezone with Z now
cc @alamb @sergiimk
--
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