brianbroderick / lantern

Shine a light on your PG query logs. The project is being reimagined and is now a WIP.
Apache License 2.0
2 stars 0 forks source link

Extractor: remove window function from the column list, add window partition by and order by to the column list #24

Open brianbroderick opened 3 months ago

brianbroderick commented 3 months ago

Here's the current test from TestExtractSelectedColumns:

{"select wf1() over w, wf2() over w from table_name window w as (partition by c1 order by c2);", [][]string{{"SELECT|public.table_name.w"}}},