Commit a933153
committed
Fix negated integer literals with aliases in EXPLAIN output
Remove the subquery context restriction when outputting negated integer
literals with aliases. Previously, `-5 as offset` was incorrectly rendered
as `Function negate (alias offset)` in regular SELECT statements, but should
be rendered as `Literal Int64_-5 (alias offset)`.
This fixes several failing tests in the 02154_bit_slice_for_string and
02154_bit_slice_for_fixedstring test suites.1 parent 5d2f760 commit a933153
1 file changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
| 421 | + | |
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
437 | 434 | | |
438 | 435 | | |
439 | 436 | | |
| |||
0 commit comments