[improvement](scan) make global runtime filter support in-list filter (#29394)
This commit is contained in:
@ -369,11 +369,7 @@ public class RuntimeFilterGenerator extends PlanPostProcessor {
|
||||
List<TRuntimeFilterType> legalTypes = Arrays.stream(TRuntimeFilterType.values())
|
||||
.filter(type -> (type.getValue() & ctx.getSessionVariable().getRuntimeFilterType()) > 0)
|
||||
.collect(Collectors.toList());
|
||||
if (ctx.getSessionVariable().isIgnoreStorageDataDistribution()) {
|
||||
// If storage data distribution is ignored, we use BLOOM filter.
|
||||
legalTypes.clear();
|
||||
legalTypes.add(TRuntimeFilterType.BLOOM);
|
||||
}
|
||||
|
||||
List<EqualTo> hashJoinConjuncts = join.getEqualToConjuncts();
|
||||
for (int i = 0; i < hashJoinConjuncts.size(); i++) {
|
||||
EqualTo equalTo = ((EqualTo) JoinUtils.swapEqualToForChildrenOrder(
|
||||
|
||||
Reference in New Issue
Block a user