Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-17178: [R] Support head() in arrow_dplyr_query with user-defined function#13706
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
f9f696ddbd2d61095b3f04a3287024bc1cd15428299e9170f30a86848225dc4d69e365e8606507a54584709372327143d6afe61cdbcd17bc2f9a827a5d24a29ee0602a91505040a99b2020d33893764f60b8ddfa05f7067b6b91025ec7c1aadc61f6921296f4fece2adf724b41e6d5717d8e92f92e0416File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
Why don't we want/need this anymore?
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.
Because of the change to
head.RecordBatchReader(), no batches get pulled whenhead(out)is called (which is need to make sure that the ExecPlan can continue to defer StartProducing()). The C++ implementation ofhead.RecordBatchReader()takes care of callingClose()on the upstream reader (which, if it's an ExecPlanReader, will callStopProducing(). I should add a test to make sure that's the case though!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.
Test added!
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.
Hmm...the test passes locally and on Windows but fails on all the Linux CI. My guess is that this is related to how the request to stop producing is (or is not) relayed to the source node (or maybe how quickly that happens?).