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-14182: [C++][Compute] Hash Join performance improvement#12326
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
File 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -57,6 +57,10 @@ class ARROW_EXPORT HashJoinSchema { | ||
| const std::string& left_field_name_prefix, | ||
| const std::string& right_field_name_prefix); | ||
| bool HasDictionaries() const; | ||
| bool HasLargeBinary() const; | ||
| Result<Expression> BindFilter(Expression filter, const Schema& left_schema, | ||
| const Schema& right_schema); | ||
| std::shared_ptr<Schema> MakeOutputSchema(const std::string& left_field_name_suffix, | ||
| @@ -98,12 +102,13 @@ class ARROW_EXPORT HashJoinSchema { | ||
| class HashJoinImpl { | ||
| public: | ||
| using OutputBatchCallback = std::function<void(ExecBatch)>; | ||
| using OutputBatchCallback = std::function<void(int64_t, ExecBatch)>; | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's this new int64 parameter for? Doesn't it just get ignored later? | ||
| using FinishedCallback = std::function<void(int64_t)>; | ||
| virtual ~HashJoinImpl() = default; | ||
| virtual Status Init(ExecContext* ctx, JoinType join_type, bool use_sync_execution, | ||
| size_t num_threads, HashJoinSchema* schema_mgr, | ||
| size_t num_threads, const HashJoinProjectionMaps* proj_map_left, | ||
| const HashJoinProjectionMaps* proj_map_right, | ||
| std::vector<JoinKeyCmp> key_cmp, Expression filter, | ||
| OutputBatchCallback output_batch_callback, | ||
| FinishedCallback finished_callback, | ||
| @@ -113,6 +118,7 @@ class HashJoinImpl { | ||
| virtual void Abort(TaskScheduler::AbortContinuationImpl pos_abort_callback) = 0; | ||
| static Result<std::unique_ptr<HashJoinImpl>> MakeBasic(); | ||
| static Result<std::unique_ptr<HashJoinImpl>> MakeSwiss(); | ||
| protected: | ||
| util::tracing::Span span_; | ||
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 did we get rid of schema manager?