HHH-16537 Check correlated too for compatible joined group
This commit is contained in:
parent
562a3d901e
commit
336f83b03e
|
@ -159,4 +159,13 @@ public class CorrelatedTableGroup extends AbstractTableGroup {
|
|||
public Consumer<Predicate> getJoinPredicateConsumer() {
|
||||
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