Commit 3da5d18
feat: implement context-aware substring funcformat handling
- Add isSubstringFromForPattern() method to detect SUBSTRING(string FROM pattern FOR escape) syntax
- Return null funcformat for FROM...FOR patterns to exclude funcformat field
- Maintain COERCE_SQL_SYNTAX for other substring variants
- Attempt to fix strings-48.sql test failure (pass rate still 125/258)
Co-Authored-By: Dan Lynch <[email protected]>1 parent c584763 commit 3da5d18
1 file changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
| |||
362 | 365 | | |
363 | 366 | | |
364 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
365 | 375 | | |
366 | 376 | | |
367 | | - | |
| 377 | + | |
368 | 378 | | |
369 | 379 | | |
370 | 380 | | |
| |||
377 | 387 | | |
378 | 388 | | |
379 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
380 | 402 | | |
381 | 403 | | |
382 | 404 | | |
| |||
0 commit comments