You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from testidx | STATS max(null) returns a 500 ({"type":"esql_illegal_argument_exception","reason":"unknown agg: class org.elasticsearch.xpack.ql.expression.Literal: null"}) This is also the behavior of all other aggregations. This is already reported here
Given an index
testidx, the queryfrom testidx | STATS some_agg_function(null)behaves differently for different aggregations:from testidx | STATS count(null)returns the number of documents (likecount(*)).Will be solved by ESQL: Sum, Min, Max and Avg of constants #105454.from testidx | STATS avg(null)returns a row containingnullfor every document.This is already reported herefrom testidx | STATS max(null)returns a 500 ({"type":"esql_illegal_argument_exception","reason":"unknown agg: class org.elasticsearch.xpack.ql.expression.Literal: null"}) This is also the behavior of all other aggregations.