Skip to content

[pull] master from trinodb:master - #1733

Merged
pull[bot] merged 2 commits into
kokizzu:masterfrom
trinodb:master
Sep 17, 2026
Merged

pull[bot] merged 2 commits into
kokizzu:masterfrom
trinodb:master

Conversation

@pull

@pull pull Bot commented Sep 17, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

atirna and others added 2 commits September 17, 2026 12:14
TRY(expr) desugars to $try(() -> expr), and RemoveRedundantTry drops
the $try wrapper when IrExpressions.mayFail judges the body infallible.
mayFail classified FieldReference as never failing without inspecting
its base, so TRY(array[index].field) lost its wrapper and an
out-of-bounds subscript error escaped as INVALID_FUNCTION_ARGUMENT.

Visit the base of a FieldReference in mayFail so a fallible base keeps
the $try wrapper, while a Reference/Constant base still allows the
redundant-try removal.
@pull pull Bot locked and limited conversation to collaborators Sep 17, 2026
@pull pull Bot added the ⤵️ pull label Sep 17, 2026
@pull
pull Bot merged commit ea465e8 into kokizzu:master Sep 17, 2026
1 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants