Omega359 commented on issue #10744:
URL: https://github.com/apache/datafusion/issues/10744#issuecomment-2154914120

   After thinking about this a fair bit the builder approach like what 
@jayzhan211 did with aggregate functions seems to be the best way forward on 
this feature imho. While I do like the idea of a separate crate(s) for 
mirroring functionality from other systems I think that is a much much larger 
project and is encompasses a lot more functionality than this specific feature 
entails. Putting this feature into core I don't believe limits DF in the future 
to extracting out this and other similar behaviour 'traits' and functionality 
to system specific crates.
   
   I'll start work on this and see how that works out. If it does then I'll add 
safe support via a trait to the to_timestamp*, to_date and to_unixtime 
functions. If there are other UDF's that could benefit from having a 'safe' 
mode (return null on error) please let me know and I'll see about adding safe 
mode to those as well.
   
   Thank you everyone for your feedback and guidance on this feedback request! 
👍 


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

Reply via email to