switch (call.getKind()) { case SUM: aggFunction = new SqlSumAggFunction(call.getType()); break; case SUM0:
switch (call.getKind()) { case SUM: aggFunction = new SqlSumAggFunction(call.getType()); break; case SUM0:
AggregateCall.create( new DrillCalciteSqlAggFunctionWrapper( new SqlSumAggFunction(sumType), sumType), oldCall.isDistinct(), oldCall.isApproximate(), AggregateCall.create( new DrillCalciteSqlAggFunctionWrapper( new SqlSumAggFunction(sumType), sumType), oldCall.isDistinct(), oldCall.isApproximate(),