alamb commented on issue #10744: URL: https://github.com/apache/datafusion/issues/10744#issuecomment-2142875610
I think options 1 and 3 would be straightforward You could even potentially implement ```rust pub fn to_timestamp_safe(args: Vec<Expr>) -> Expr { ... } ``` Directly in your application (rather than in the core of datafusion) Another crazy thought might be to implement a rewrite pass (e.g. `AnalyzerRule`) that rewrites all expressions in the plan when safe mode is needed... I think they have access to all the state necessary -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org