HHH-16537 Check correlated too for compatible joined group
This commit is contained in:
parent
55ebd337e7
commit
7857ce14ef
|
@ -159,4 +159,13 @@ public class CorrelatedTableGroup extends AbstractTableGroup {
|
||||||
public Consumer<Predicate> getJoinPredicateConsumer() {
|
public Consumer<Predicate> getJoinPredicateConsumer() {
|
||||||
return joinPredicateConsumer;
|
return joinPredicateConsumer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TableGroup findCompatibleJoinedGroup(TableGroupJoinProducer joinProducer, SqlAstJoinType requestedJoinType) {
|
||||||
|
final TableGroup compatibleJoinedGroup = super.findCompatibleJoinedGroup( joinProducer, requestedJoinType );
|
||||||
|
return compatibleJoinedGroup == null ? correlatedTableGroup.findCompatibleJoinedGroup(
|
||||||
|
joinProducer,
|
||||||
|
requestedJoinType
|
||||||
|
) : compatibleJoinedGroup;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue