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


   @adamhooper thank you for the perspectives. I see the challenges with adding 
a second argument to `to_timestamp` and would love to consider other 
alternatives. 
   
   Can you suggest a strategy for the usecase described in this ticket, namely 
"writing a query using SQL against data stored in parquet that has an explicit 
timezone?"
   
   In other words, how do you suggest supporting the following query?
   
   ```sql
   SELECT ...
   FROM my_parquet_file_where_timestamp_col_has_a_specified_timezone
   WHERE timestamp_col > to_timestamp("2021-06-21T12:00Z")
   ```
   
   Which currently fails because the arrow type of `to_timestamp` has `None` as 
the timezone, but the type of of `timestamp_col` has a specific timezone?


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to