We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8964f4 commit efe9c48Copy full SHA for efe9c48
1 file changed
core/src/main/java/org/opensearch/sql/calcite/utils/PlanUtils.java
@@ -219,8 +219,6 @@ static RelBuilder.AggCall makeAggCall(
219
case AVG:
220
return context.relBuilder.avg(distinct, null, field);
221
case COUNT:
222
- // return context.relBuilder.aggregateCall(SqlStdOperatorTable.APPROX_COUNT_DISTINCT,
223
- // field);
224
return context.relBuilder.count(
225
distinct, null, field == null ? ImmutableList.of() : ImmutableList.of(field));
226
case SUM:
0 commit comments