Skip to content

Conversation

pepijnve
Copy link
Contributor

@pepijnve pepijnve commented Sep 3, 2025

Which issue does this PR close?

Rationale for this change

A blind unwrap call can currently trigger panics during query parsing.

What changes are included in this PR?

Correctly handle and propagate the Err case.

Are these changes tested?

Yes, an additional test was added to check that the panic no longer occurs

Are there any user-facing changes?

No

@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Sep 3, 2025
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Jefffrey Jefffrey merged commit 002b021 into apache:main Sep 4, 2025
28 checks passed
@pepijnve pepijnve deleted the issue_17392 branch September 4, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when using string concatenation in 'with order'
2 participants