Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

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.

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.
@kyleconroy kyleconroy merged commit 56cb4de into main Dec 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants