Skip to content

Commit 45e49cd

Browse files
nokiaMSgithubgxll
authored andcommitted
[fix][coding] Make decimal count pushdown.
1 parent 0ed28c9 commit 45e49cd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

coding/src/main/java/io/dingodb/expr/coding/ExprCoder.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,16 +374,10 @@ public CodingFlag visitUnaryAggExpr(@NonNull UnaryAggExpr expr, @NonNull OutputS
374374
if (typeCode != null && index instanceof Integer) {
375375
switch (expr.getOp().getName()) {
376376
case CountAgg.NAME:
377-
if ( typeCode == 6) { //Dont support decimal type now.
378-
return null;
379-
}
380377
obj.write(AGG_COUNT | typeCode);
381378
break;
382379
case SumAgg.NAME:
383380
case Sum0Agg.NAME:
384-
if ( typeCode == 6) { //Dont support decimal type now.
385-
return null;
386-
}
387381
obj.write(AGG_SUM | typeCode);
388382
break;
389383
case MaxAgg.NAME:

0 commit comments

Comments
 (0)