« * K @boringsql.com

Radim @ boringSQL @boringsql.com

2026-03-30 07:16 UTC

That imperative mindset leads to a pattern I see everywhere: one CTE filters rows, the next LEFT JOINs and aggregates with GROUP BY, the next filters the result. Reads like a pipeline. Performs terribly. The GROUP BY creates a wall the planner can't optimize past, even after in-lining.

A reply in a thread.

0 likes, 0 reposts, 0 replies

3 Next post4 More from @boringsql.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup