Skip to content

Conversation

@srielau
Copy link
Contributor

@srielau srielau commented Jan 26, 2026

…eter marke in spark-sql

What changes were proposed in this pull request?

Ensure pre-parser for parameter markers is called by spark-sql CLI

Why are the changes needed?

Without invoking the pre-parser, the presence of a parameter marker results in an internal error (UNEXPECTED_USE_OF_PARAMETER_MARKER).
By calling the pre-parser, this case is correctly detected and reported as UNBOUND_PARAMETER_MARKER, which is the expected behavior.

Does this PR introduce any user-facing change?

No

How was this patch tested?

New test added to CLI suite

Was this patch authored or co-authored using generative AI tooling?

Clause Sonnet

@github-actions github-actions bot added the SQL label Jan 26, 2026
@srielau srielau changed the title [SPARK-55202] Fix UNEXPECTED_USE_OF_PARAMETER_MARKER wehn using param… [SPARK-55202] Fix UNEXPECTED_USE_OF_PARAMETER_MARKER when using param… Jan 26, 2026
@github-actions
Copy link

JIRA Issue Information

=== Bug SPARK-55202 ===
Summary: spark-sql raises UNEXPECTED_USE_OF_PARAMETER_MARKER
Assignee: None
Status: Open
Affected: ["4.1.0"]


This comment was automatically generated by GitHub Actions

@gengliangwang
Copy link
Member

Thanks, merging to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants