-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ARROW-11722: [Rust] Improve error message in FFI cast. #9540
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9540 +/- ##
==========================================
- Coverage 82.29% 82.28% -0.01%
==========================================
Files 244 244
Lines 55616 55616
==========================================
- Hits 45767 45766 -1
- Misses 9849 9850 +1
Continue to review full report at Codecov.
|
Commit suggestion. Co-authored-by: Daniël Heres <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ritchie46
While trying to cast from pyarrow to rust I encountered the following error message: `CDataInterface("The datatype \"{}\" is still not supported in Rust implementation")`, which is not very informative. This PR is very small and prints the datatype format passed to the function in the error message. Closes apache#9540 from ritchie46/improve_ffi_error Authored-by: Ritchie Vink <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
While trying to cast from pyarrow to rust I encountered the following error message: `CDataInterface("The datatype \"{}\" is still not supported in Rust implementation")`, which is not very informative. This PR is very small and prints the datatype format passed to the function in the error message. Closes apache#9540 from ritchie46/improve_ffi_error Authored-by: Ritchie Vink <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9540 +/- ##
==========================================
- Coverage 82.29% 82.28% -0.01%
==========================================
Files 244 244
Lines 55616 55616
==========================================
- Hits 45767 45766 -1
- Misses 9849 9850 +1 ☔ View full report in Codecov by Sentry. |
While trying to cast from pyarrow to rust I encountered the following error message:
CDataInterface("The datatype \"{}\" is still not supported in Rust implementation")
, which is not very informative.This PR is very small and prints the datatype format passed to the function in the error message.