Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.datasketches.tuple.aninteger.IntegerSummary;
import org.apache.pinot.common.request.context.ExpressionContext;
import org.apache.pinot.common.request.context.FunctionContext;
import org.apache.pinot.core.query.aggregation.function.funnel.FunnelCountAggregationFunctionFactory;
import org.apache.pinot.segment.spi.AggregationFunctionType;
import org.apache.pinot.spi.data.FieldSpec.DataType;
import org.apache.pinot.spi.exception.BadQueryRequestException;
Expand Down Expand Up @@ -352,7 +353,7 @@ public static AggregationFunction getAggregationFunction(FunctionContext functio
throw new IllegalArgumentException(
"Aggregation function: " + function + " is only supported in selection without alias.");
case FUNNELCOUNT:
return new FunnelCountAggregationFunction(arguments);
return new FunnelCountAggregationFunctionFactory(arguments).get();

default:
throw new IllegalArgumentException();
Expand Down
Loading