This PR fix bugs on powa_qualstats_aggregate_constvalues_current: wrong order by from a copy paste and wrong column name. It also include a rewrite to get rid of LATERAL clause and use window functions. Execution is much more faster between 2 to 600x faster.
Fix #40
This PR fix bugs on
powa_qualstats_aggregate_constvalues_current
: wrong order by from a copy paste and wrong column name. It also include a rewrite to get rid of LATERAL clause and use window functions. Execution is much more faster between 2 to 600x faster.