Repository navigation
Commit cbe710d
authored
perf: pin polyglot with faster column qualification (#923)
* perf(compile): bump polyglot for linear column qualification and commented set operations
Bump polyglot-sql to a revision that borrows source column sets during
schema-aware column qualification, so wide relations and SELECT * over
derived tables qualify in linear time, and that builds scopes for
set-operation chains with comments before the operators in linear time.
Analysis results are unchanged.
Extend the long UNION ALL fixture guard with an input fixture whose rows
are separated by a comment before each UNION ALL; 200-row commented
fixtures previously took about 17 times as long as 50-row fixtures.
* build: pin polyglot to the merged column-set and comment-scope changes1 parent 9311dda commit cbe710d
5 files changed
Lines changed: 40 additions & 14 deletions
File tree
- tests/e2e/src/sqlbuild/cli/commands/main/compile
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
499 | 500 | | |
500 | 501 | | |
501 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2771 | 2771 | | |
2772 | 2772 | | |
2773 | 2773 | | |
2774 | | - | |
2775 | | - | |
| 2774 | + | |
| 2775 | + | |
2776 | 2776 | | |
2777 | 2777 | | |
2778 | 2778 | | |
2779 | 2779 | | |
2780 | 2780 | | |
2781 | 2781 | | |
2782 | | - | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
2783 | 2787 | | |
2784 | | - | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
2785 | 2793 | | |
2786 | 2794 | | |
2787 | 2795 | | |
| |||
2798 | 2806 | | |
2799 | 2807 | | |
2800 | 2808 | | |
2801 | | - | |
2802 | | - | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
2803 | 2815 | | |
2804 | 2816 | | |
2805 | 2817 | | |
2806 | | - | |
2807 | | - | |
| 2818 | + | |
| 2819 | + | |
2808 | 2820 | | |
2809 | 2821 | | |
2810 | 2822 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
| |||
154 | 165 | | |
155 | 166 | | |
156 | 167 | | |
| 168 | + | |
157 | 169 | | |
158 | 170 | | |
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
| 174 | + | |
162 | 175 | | |
163 | 176 | | |
164 | 177 | | |
| |||
0 commit comments