Turn eager aggregation off
The same query with enable_eager_aggregate = off has no partial aggregate.
task
Set enable_eager_aggregate to off, then run the revenue query.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
The same query with enable_eager_aggregate = off has no partial aggregate.
Set enable_eager_aggregate to off, then run the revenue query.