-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-15272: [Java] Add cleanup failures as suppressed in ArrowVectorIterator#create #12094
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
Conversation
|
|
BryanCutler
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, just requesting to use function from Autocloseables.
| } catch (Throwable e) { | ||
| if (iterator != null) { | ||
| iterator.close(); | ||
| try { |
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.
You could call Autocloseables.close(iterator) which would do the same thing
BryanCutler
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.
LGTM
|
merged to master, thanks @ahggns ! |
|
Benchmark runs are scheduled for baseline = fe953ea and contender = fa78edc. fa78edc is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…Iterator#create Closes apache#12094 from ahggns/ah/arrow-15272 Authored-by: Andrew Higgins <[email protected]> Signed-off-by: Bryan Cutler <[email protected]>
No description provided.