Skip to content

[no-release-notes] Rollforward "Unwrap inputs to REGEXP_LIKE, RPAD, LPAD, and REPLACE functions." #2968

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

Conversation

nicktobey
Copy link
Contributor

This is the same PR as #2964, which was accidentally merged despite breaking some tests.

From the original PR:

These are a couple more functions whose inputs aren't being unwrapped. If the inputs come from a column with a TEXT type, then they won't be converted to strings and the functions will fail. This PR fixes this by making sure that the inputs are converted.

We missed this previously because although we have tests for these functions, none of them tested getting the inputs from TEXT columns of a table.

@nicktobey nicktobey merged commit 0362674 into main May 6, 2025
9 checks passed
@nicktobey nicktobey deleted the nicktobey/unwrap3 branch May 6, 2025 18:00
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.

2 participants