Uh oh!
There was an error while loading. Please reload this page.
ARROW-6964: [C++][Dataset] Add multithread support to Scanner::ToTable - #5721
ARROW-6964: [C++][Dataset] Add multithread support to Scanner::ToTable#5721fsaintjacques wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
I prefer the explicit loop than nested Visitor.
There was a problem hiding this comment.
Maybe it's time to expose a common ResourceContext class that has a MemoryPool and a ThreadPool?
There was a problem hiding this comment.
I don't think it's useful to make this inline.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
Maybe this should be a task group instead of a thread pool. Then users can pass a serial task group to signal single threaded operation
There was a problem hiding this comment.
| batches.emplace_back(batch); | |
| batches.emplace_back(std::move(batch)); |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8d6e72e to
10ed013CompareThe caller may request a parallel construction of the table. Scanner was refactor to own the ScanOptions and ScanContext members. The `use_threads` options was added to ScanOptions so the caller can indicate if Scanner is allowed to use parallelism.
10ed013 to
210f190Compare
The caller may request a parallel construction of the table. Scanner was refactored to own the ScanOptions and ScanContext members.