Fix BITMAP_UNION_COUNT couldn't hit rollup table (#2655)
This commit is contained in:
@ -555,7 +555,8 @@ public class SingleNodePlanner {
|
||||
returnColumnValidate = false;
|
||||
break;
|
||||
}
|
||||
} else if (aggExpr.getFnName().getFunction().equalsIgnoreCase(FunctionSet.BITMAP_UNION)) {
|
||||
} else if (aggExpr.getFnName().getFunction().equalsIgnoreCase(FunctionSet.BITMAP_UNION)
|
||||
|| aggExpr.getFnName().getFunction().equalsIgnoreCase(FunctionSet.BITMAP_UNION_COUNT)) {
|
||||
if (col.getAggregationType() != AggregateType.BITMAP_UNION) {
|
||||
turnOffReason = "Aggregate Operator not match: BITMAP_UNION <--> " + col.getAggregationType();
|
||||
returnColumnValidate = false;
|
||||
|
||||
Reference in New Issue
Block a user