-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External Error prefix is repeated multiple times #14080
Comments
Until apache/datafusion#14080 is fixed, we'll remove the `DataFusionError::External` strings from the error message displayed to clients. Signed-off-by: Gerd Zellweger <[email protected]>
Until apache/datafusion#14080 is fixed, we'll remove the `DataFusionError::External` strings from the error message displayed to clients. Signed-off-by: Gerd Zellweger <[email protected]>
I was seeing this with the sqlite tests, thx for creating a ticket for it. |
I agree this would be nice to fix. We can potentially do the unwrapping in this From impl: datafusion/datafusion/common/src/error.rs Lines 282 to 286 in 63b94c8
But not sure if there are other places too |
Take |
Note that when this is fixed the sqlite test files will need to be regenerated. See #14290 for a PR to do that. |
Describe the bug
I'm getting errors in the form of
DataFusionError::External(External(External(External(External(External(xyz))))
when throwing them from https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html#tymethod.executeTo Reproduce
Implement a TableProvider that throws an error and call it
Expected behavior
I'd expect the
External(External(External(External(External
flattened to just oneExternal
Additional context
The text was updated successfully, but these errors were encountered: