Skip to content

Wrap in CoalesceBatchesExec more operators #2187

@akupchinskiy

Description

@akupchinskiy

What is the problem the feature request solves?

Datafusion optimizer wraps some operators which might produce multiple small batches with CoalesceBatchesExec node. In Comet, this technique is already applied to SMJ with filter.

Describe the potential solution

Shouldn't it be extended to other plans (Filter/HashJoin)? It might be especially beneficial for workloads where sort merge join -> hash join replacement is enforced.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions