-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
perf: Move row group decode off async thread for local streaming parquet scan #19828
perf: Move row group decode off async thread for local streaming parquet scan #19828
Conversation
/// Run a task on the rayon threadpool. To avoid deadlocks, if the current thread is already a | ||
/// rayon thread, the task is executed on the current thread after tokio's `block_in_place` is | ||
/// used to spawn another thread to poll futures. | ||
pub async fn spawn_rayon<F, O>(&self, func: F) -> O |
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.
Made this a function, but I think we won't be using it much as we move to the new streaming engine.
23dd909
to
a4e367f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19828 +/- ##
==========================================
+ Coverage 79.33% 79.34% +0.01%
==========================================
Files 1548 1548
Lines 214208 214192 -16
Branches 2460 2460
==========================================
+ Hits 169934 169943 +9
+ Misses 43716 43691 -25
Partials 558 558 ☔ View full report in Codecov by Sentry. |
Ensure we don't block tokio threads on compute.