Repository navigation
Commit 33498ae
committed
feat(convert): run FULL JOIN USING after a JOIN without ON left to right
Snowflake binds a later FULL JOIN ... USING to the whole join so far,
as it does a later ON: after a join without ON, the recorded cases return
the left-to-right row count, not the nested one. The conversion no longer
refuses that shape. RIGHT JOIN with USING and RIGHT JOIN without ON stay
refused. The recorded cases are in the pinned evidence, and the translation
results baseline gains their two statements.1 parent 2082f04 commit 33498ae
4 files changed
Lines changed: 19 additions & 40 deletions
File tree
- coverage/translation
- crates
- sqlquack-convert/src/snowflake
- catalogue
- conversion/_helpers/queries
- sqlquack/tests/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6649 | 6649 | | |
6650 | 6650 | | |
6651 | 6651 | | |
| 6652 | + | |
| 6653 | + | |
6652 | 6654 | | |
6653 | 6655 | | |
6654 | 6656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | | - | |
131 | | - | |
| 129 | + | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
| |||
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 171 | | |
183 | 172 | | |
184 | 173 | | |
185 | | - | |
| 174 | + | |
186 | 175 | | |
187 | 176 | | |
188 | 177 | | |
| |||
234 | 223 | | |
235 | 224 | | |
236 | 225 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 226 | | |
246 | 227 | | |
247 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| |||
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
| |||
0 commit comments