Omega359 commented on PR #15361:
URL: https://github.com/apache/datafusion/pull/15361#issuecomment-2783327108

   It's only slower when date32 is the input type. It's going to be hard to 
have this functionality for formats with timestamp specifiers but not have some 
sort of impact on those with just date specifiers. The only way I can think of 
to handle that is via catching the error when the parsing fails and retrying 
with date64. 
   
   To put some context on this:
   - The 25% is for the case where the use has an array of 1000 dates *and* 
1000 formats (the table case)
   - The 7% is for the far more common case of 1000 dates and a single format. 
That is the overhead of chrono parsing a format string and doing matches on 
that.
   - This does not affect any other input types.


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