Skip to content

Do not panic on zero placeholders in ParamValues::get_placeholders_with_values #8615

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

kawadakk
Copy link
Contributor

It correctly rejected $0 but not the other ones that are parsed equally (e.g., $000).

Which issue does this PR close?

Closes #8614.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

…h_values`

It correctly rejected `$0` but not the other ones that are parsed
equally (e.g., `$000`).
@github-actions github-actions bot added the logical-expr Logical plan and expressions label Dec 21, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @kawadakk

@alamb
Copy link
Contributor

alamb commented Dec 22, 2023

I merged up from main to resolve conflicts in this branch

@alamb alamb merged commit 03c2ef4 into apache:main Dec 22, 2023
@alamb
Copy link
Contributor

alamb commented Dec 22, 2023

Thanks again @kawadakk

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
logical-expr Logical plan and expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LogicalPlan::replace_params_with_values panics if a placeholder with id $00 is present
2 participants