Open mayankshriv opened 2 weeks ago
We ae using this function in our production, and it needs some special configuration https://app.gitbook.com/o/-LtRX9NwSr7Ga7zA4piL/s/-LtH6nl58DdnZnelPdTc-887967055/configuration-reference/functions/arg_min-arg_max#prerequisite
@jasperjiaguo
Here is the public accessible doc: https://docs.pinot.apache.org/configuration-reference/functions/arg_min-arg_max
@jasperjiaguo recently fixed a bug in this functionality that we had discovered from an internally deployed use case.
Jia - is this a different problem ?
It seems that the
EXPR_MIN/MAX
functions do not work in both v1 and v2 query engines.Running a simple query like below errors out, even though there is no alias in the query. On debugging, I see that the query never gets rewritten as ExprMinMaxRewriter is not hooked up. I could also not find any config where the rewriter could be configured.
cc: @jasperjiaguo @siddharthteotia @Jackie-Jiang