Skip to content

Pushing down HashJoinExec build side dynamic filters makes tpch queries slower #19858

@adriangb

Description

@adriangb

Describe the bug

Seen / discussed in:

#19639
#3463

We need to nail down what is slow:

  1. Creating the expressions?
  2. Evaluating them?

If (2), what's the solution?

  • Is our approach to filter pushdown fundamentally flawed because it changes the parallelism or batch sizes at which the filter is applied? Could we do something to make the expression more efficient, like put the min/max evaluation outside of the hashes?
  • Is it just because the hashes are being evaluated more times?
  • Is it less of a problem on a larger dataset?

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions