Allow use of ?
to return DataFusionError
s in methods that returnArrowErrors
#1642
Labels
enhancement
New feature or request
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Improve DataFusion error conversions
Now that @matthewmturner made a DataFusionError::External #1541 , the story for converting back and forth to ArrowErrors is much better ❤️
However, I really want to be able to use
?
in functions that return anArrowError
or aDataFusionError
]kSpecifically, I want the following two cases to work (
Unfortunately, the first example (converting a DataFusionError to an
ArrowError
) produces a compilation error:Describe the solution you'd like
Add the appropriate conversion method
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: