Commit 73814d2
authored
refactor(binder): consolidate binder alias semantics and split type_check (#19750)
* refactor(ast): add leave hooks to visitor traversal
* test(sql): add binder coverage for prebind edge cases
* refactor(sql): streamline binder clause analysis
* refactor(sql): add name-resolution normalize helper
* refactor(sql): split semantic type checker internals
* fix(sql): preserve GROUP BY alias resolution
* fix(sql): narrow GROUP BY alias resolution
* refactor(sql): consolidate binder alias facts
* fix(sql): restore result cache state calls after merge
* refine1 parent b6cc285 commit 73814d2
40 files changed
Lines changed: 8207 additions & 7287 deletions
File tree
- src/query
- ast/src
- visit
- sql
- src/planner
- binder
- bind_query
- semantic
- type_check
- tests/it/semantic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
141 | 149 | | |
142 | 150 | | |
143 | 151 | | |
| |||
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
163 | | - | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
189 | 201 | | |
190 | 202 | | |
191 | 203 | | |
| |||
211 | 223 | | |
212 | 224 | | |
213 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
214 | 230 | | |
215 | 231 | | |
216 | 232 | | |
| |||
0 commit comments