Commit d819d45
Update test baselines for LEAST/GREATEST functions to match EF Core 10 SQL generation
- Updated Where_math_min and Where_math_max: Now correctly expect LEAST/GREATEST in SELECT clause
- Updated nested tests: EF Core 10 optimizes nested calls by flattening them into single LEAST/GREATEST calls
- All 12 Math.Min/Max tests now passing with correct SQL expectations
Examples:
- Math.Min(a, Math.Min(b, c)) generates: LEAST(a, b, c) instead of LEAST(a, LEAST(b, c))
- .Select with Math.Min generates: SELECT col, LEAST(...) AS Result instead of just selecting columns
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>1 parent 20bc900 commit d819d45
1 file changed
Lines changed: 7 additions & 7 deletions
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | | - | |
| 488 | + | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| |||
3200 | 3200 | | |
3201 | 3201 | | |
3202 | 3202 | | |
3203 | | - | |
| 3203 | + | |
3204 | 3204 | | |
3205 | 3205 | | |
3206 | 3206 | | |
| |||
3232 | 3232 | | |
3233 | 3233 | | |
3234 | 3234 | | |
3235 | | - | |
| 3235 | + | |
3236 | 3236 | | |
3237 | 3237 | | |
3238 | 3238 | | |
| |||
3248 | 3248 | | |
3249 | 3249 | | |
3250 | 3250 | | |
3251 | | - | |
| 3251 | + | |
3252 | 3252 | | |
3253 | 3253 | | |
3254 | 3254 | | |
| |||
0 commit comments