Scalar functions have the AbstractFunctionTestCase, which adds a ton of automatic testing to them.
Aggregation functions currently have none. They just have some tests for the Aggregators themselves, but they aren't very "complete", and they don't cover the function as a whole (So an aggregator could not be being called at all).
We should have a similar test coverage for aggregators as we have for scalars.
Scalar functions have the
AbstractFunctionTestCase
, which adds a ton of automatic testing to them. Aggregation functions currently have none. They just have some tests for the Aggregators themselves, but they aren't very "complete", and they don't cover the function as a whole (So an aggregator could not be being called at all).We should have a similar test coverage for aggregators as we have for scalars.
intCases()
(And similar) methods (https://github.com/elastic/elasticsearch/pull/110327)