tinfoil-knight commented on issue #9580: URL: https://github.com/apache/arrow-datafusion/issues/9580#issuecomment-2002059855
> Since the Timezone is encoded in the DataType I think you could call `Expr::Cast` with a DataType that had the appropriate timezone -- e.g. set the timezone correctly [docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Timestamp](https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Timestamp) and then cast the expression to that type > > Thus you may not need to make a new scalar function Yeah. This worked. Thank you for the suggestion. -- 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]
