[Vectorized][Bug] fix percentile_approx function to return always nullable (#8572)
This commit is contained in:
@ -52,7 +52,7 @@ public class AggregateFunction extends Function {
|
||||
ImmutableSet.of("row_number", "rank", "dense_rank", "hll_union_agg", "hll_union", "bitmap_union", "bitmap_intersect", FunctionSet.COUNT, "ndv", FunctionSet.BITMAP_UNION_INT, FunctionSet.BITMAP_UNION_COUNT, "ndv_no_finalize");
|
||||
|
||||
public static ImmutableSet<String> ALWAYS_NULLABLE_AGGREGATE_FUNCTION_NAME_SET =
|
||||
ImmutableSet.of("stddev_samp", "variance_samp", "var_samp");
|
||||
ImmutableSet.of("stddev_samp", "variance_samp", "var_samp", "percentile_approx");
|
||||
|
||||
// Set if different from retType_, null otherwise.
|
||||
private Type intermediateType;
|
||||
|
||||
Reference in New Issue
Block a user