-
Notifications
You must be signed in to change notification settings - Fork 85
fix(arrow/cdata): Handle errors to prevent panic #614
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
base: main
Are you sure you want to change the base?
Conversation
zeroshade
left a comment
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.
Looks good, can you add a test for this please?
|
Thanks! Assuming no issues in CI i'll merge this |
|
Looks like you have some test failures here |
|
@zeroshade please review it |
Signed-off-by: Cai Zhang <[email protected]>
Signed-off-by: Cai Zhang <[email protected]>
Signed-off-by: Cai Zhang <[email protected]>
Signed-off-by: Cai Zhang <[email protected]>
|
I have resubmitted the code based on the error messages, and the tests passed successfully on my local mechine. |
|
@xiaocai2333 looks like there's a memory leak found by the leak sanitizer that needs to be addressed. I can poke at it tomorrow if you need help tracking it down. Specifically, the 48 bytes leaks are likely ArrowSchema objects that aren't getting freed (probably children in a nested test) |
Rationale for this change
Fixes: #613
What changes are included in this PR?
Return error correctly.
Are these changes tested?
Yes
Are there any user-facing changes?
No