-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
This came up from looking at the backgrace in #7522 where we saw a significant amount of planning time going to creating DataFusionError which were then thrown away.
I tracked this down to creating the error (which is ignored) here:
Describe the solution you'd like
I would like less time being spent creating erorrs that are thrown away. I can see two potential ways to do this:
- Stop ignoring the error and instead fix whatever the underlying issue is
- Cache the calculation of the statistics so it doesn't get called multiple times
Both might be appropriate
Describe alternatives you've considered
No response
Additional context
cc @berkaysynnada as I believe this came in #6982
I don't think this is a critical fix, but I wanted to file it given I had tracked it down
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request