AVG computes the average value over a specific column:
The field being averaged, in this case
rating, must be indexed as
fast.AVG ignores null values. Use COALESCE to include them in the final average:
AVG was pushed down, look for a ParadeDB Aggregate Scan with average in the EXPLAIN output:
Expected Response