https://pinot.apache.org/ logo
t

Tanmay Movva

12/01/2020, 4:04 AM
Hello, when I am querying min/max of a column which is not present in the table, pinot returns Infinity/-infinity. Shouldn’t the ideal behaviour be to throw an error saying the column is not present?
x

Xiang Fu

12/01/2020, 4:29 AM
do you mean query a column which doesn't exist ? I also feel the behavior should be throw exception by saying field not found/ evaluated.
Can you create a github issue for this
t

Tanmay Movva

12/01/2020, 4:29 AM
Sure.
x

Xiang Fu

12/01/2020, 4:30 AM
This may also be extended to other aggregation functions I guess
t

Tanmay Movva

12/01/2020, 4:30 AM
Yes. Same scenario for other aggregations also.
x

Xiang Fu

12/01/2020, 4:34 AM
cool! thanks!