Skip to content

fallback operations not supported by ch backend in CHHashJoinExecTransformer and CHBroadcastHashJoinExecTransformer #1251

Open
@zheniantoushipashi

Description

@zheniantoushipashi

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

some join operations not supported by ch backend, if do not fallback, will trigger errors

Describe the solution you'd like

The logic here is that if it is not an equi-join spark will create BNLJ, which will fallback,
if it is an equi-join, spark will create BroadcastHashJoin or ShuffleHashJoin or SortMergeJoin,
for these join types, we need to filter For cases that cannot be handled by the backend,
1 there are at least two different tables column and Literal in the condition Or condition for comparison
for example (a join b on a.a1 = b.b1 and (a.a2 > 1 or b.b2 < 2) )
2 tow join key for inequality comparison (!= , > , <)
for example
(a join b on a.a1 > b.b1)
There will be a fallback for Nullaware Jion
For Existence Join which is just an optimization of exist subquery, it will also fallback

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions