Commit 78d2b74
committed
Merge uuid branch: Add UUID_STRING transpilation support
feat(snowflake): add UUID_IS_STRING_TYPE flag and UUID_STRING parser
- Add support for transpiling Snowflake UUID_STRING() to DuckDB UUID()
- Introduce UUID_IS_STRING_TYPE flag for dialect-specific behavior
- Add UuidV5 expression with template-based generation
- Update integration tests
All integration tests passing with no regressions.
Related to fivetran/sqlglot-integration-tests#3777 files changed
Lines changed: 47 additions & 8 deletions
File tree
- sqlglot
- dialects
- generators
- tests/dialects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2047 | 2047 | | |
2048 | 2048 | | |
2049 | 2049 | | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2050 | 2066 | | |
2051 | 2067 | | |
2052 | 2068 | | |
| |||
4428 | 4444 | | |
4429 | 4445 | | |
4430 | 4446 | | |
| 4447 | + | |
| 4448 | + | |
| 4449 | + | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
| 4461 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
424 | 429 | | |
425 | 430 | | |
426 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3881 | 3881 | | |
3882 | 3882 | | |
3883 | 3883 | | |
3884 | | - | |
3885 | 3884 | | |
3886 | 3885 | | |
3887 | 3886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2210 | 2210 | | |
2211 | 2211 | | |
2212 | 2212 | | |
| 2213 | + | |
2213 | 2214 | | |
2214 | 2215 | | |
2215 | 2216 | | |
2216 | 2217 | | |
2217 | 2218 | | |
2218 | 2219 | | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
2223 | | - | |
2224 | | - | |
2225 | | - | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
2226 | 2227 | | |
2227 | 2228 | | |
2228 | 2229 | | |
| |||
0 commit comments