Skip to content

Conversation

@devanbenz
Copy link
Contributor

Which issue does this PR close?

Closes #12150 & #11912

Rationale for this change

What changes are included in this PR?

This adds some data type coercion for when there is a [Utf8View, Utf8, Utf8] input that does not return a Utf8View output.

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: Devan <devandbenz@gmail.com>
@github-actions github-actions bot added sqllogictest SQL Logic Tests (.slt) functions Changes to functions implementation labels Aug 28, 2024
@devanbenz devanbenz closed this Aug 28, 2024
args.get(3),
)?;

if regexp_replace_result.data_type() == &DataType::Utf8 {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There may be a better way to do this but I'm unsure how.

@devanbenz devanbenz reopened this Aug 28, 2024
@devanbenz
Copy link
Contributor Author

Closing this pull request and re-opening.

@devanbenz devanbenz closed this Aug 28, 2024
@devanbenz devanbenz deleted the fix/12150-fix-utf8view-regexrep branch August 28, 2024 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internal error in regexp_replace() for some StringView input (SQLancer)

1 participant