alamb opened a new issue, #7552:
URL: https://github.com/apache/arrow-datafusion/issues/7552

   ### Is your feature request related to a problem or challenge?
   
   We have had a few issues / reports where the creation of `DataFusionError` 
during query planning has contributed significantly to the overall planning 
time. Specifically,  https://github.com/apache/arrow-datafusion/issues/5309 and 
more recently https://github.com/apache/arrow-datafusion/issues/7522
   
   At the core of the issue is that creating a `DataFusionError` is a fairly 
slow operation (as it requires allocating a new `String` to hold the error 
message, and sometimes, as in 
https://github.com/apache/arrow-datafusion/issues/5309, the construction of the 
message itself is significant. 
   
   ### Describe the solution you'd like
   
   I would like to update the DataFusion codebase so it does not use Errors on 
the "happy path" 
   
   Tasks: 
   - [ ] https://github.com/apache/arrow-datafusion/issues/5309
   
   ### Describe alternatives you've considered
   
   We could potentially make it faster / cheaper to create DataFusion errors
   
   ### Additional context
   
   _No response_


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

Reply via email to