Commit 36cf0bf
feat(snowflake)!: annotation support for CURRENT_ROLE. (#6478)
* feat(snowflake)!: annotation support for CURRENT_ROLE. Return type VARCHAR
* feat(snowflake)!: adding tests to mysql and postgres.annotation support for CURRENT_ROLE. Return type VARCHAR
* feat(snowflake)!: adding tests to mysql and postgres.annotation support for CURRENT_ROLE. Return type VARCHAR
added current_role to no_paren list
---------
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>1 parent 36ad534 commit 36cf0bf
File tree
8 files changed
+14
-0
lines changed- sqlglot
- typing
- tests
- dialects
- fixtures/optimizer
8 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6360 | 6360 | | |
6361 | 6361 | | |
6362 | 6362 | | |
| 6363 | + | |
| 6364 | + | |
| 6365 | + | |
| 6366 | + | |
6363 | 6367 | | |
6364 | 6368 | | |
6365 | 6369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2284 | 2284 | | |
2285 | 2285 | | |
2286 | 2286 | | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
2287 | 2291 | | |
2288 | 2292 | | |
2289 | 2293 | | |
| |||
0 commit comments