You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/02/02 21:01:31 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #153: Querying datetime data in DataFusion with an embedded timezone always fails

alamb commented on issue #153:
URL: https://github.com/apache/arrow-datafusion/issues/153#issuecomment-1414366738

   This query appears to be working as of DataFusion 17.0.0 in datafusion-cli -- FYI @maxburke 
   
   ```
   ❯ SELECT * FROM '0100c909-2537-c4dc-ce1d-1b7a75d613e8.parquet' WHERE ("timestamp" >= to_timestamp('2010-03-24T13:00:00.000000Z') AND "timestamp" <= to_timestamp('2010-03-25T00:00:00.000000Z')) ORDER BY timestamp ASC NULLS LAST;
   0 rows in set. Query took 0.026 seconds.
   ❯ SELECT * FROM '0100c909-2537-c4dc-ce1d-1b7a75d613e8.parquet' limit 10;
   +--------------------------+----------+-------+-----------------------------------------------+-----------+
   | ul_node_id               | id       | count | timestamp                                     | direction |
   +--------------------------+----------+-------+-----------------------------------------------+-----------+
   | x5uF7gCs0N2UvC4icn2y7g== | 11715577 | 0     | 2011-09-09T07:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715578 | 0     | 2011-09-09T08:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715579 | 0     | 2011-09-09T09:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715580 | 0     | 2011-09-09T10:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715581 | 0     | 2011-09-09T11:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715582 | 0     | 2011-09-09T12:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715583 | 0     | 2011-09-09T13:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715584 | 0     | 2011-09-09T14:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715585 | 0     | 2011-09-09T15:00:00 (Unknown Time Zone 'UTC') | EB        |
   | x5uF7gCs0N2UvC4icn2y7g== | 11715586 | 0     | 2011-09-09T16:00:00 (Unknown Time Zone 'UTC') | EB        |
   +--------------------------+----------+-------+-----------------------------------------------+-----------+
   10 rows in set. Query took 0.005 seconds.
   ```


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