Skip to content
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

Add support for utf8view to nvl function #13382

Merged
merged 3 commits into from
Nov 15, 2024
Merged

Conversation

Omega359
Copy link
Contributor

Which issue does this PR close?

Closes #13381

Rationale for this change

Completing support for StringView in udfs

What changes are included in this PR?

Code, tests

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added sqllogictest SQL Logic Tests (.slt) functions labels Nov 12, 2024
@Omega359 Omega359 marked this pull request as ready for review November 12, 2024 16:59
@jayzhan211
Copy link
Contributor

jayzhan211 commented Nov 13, 2024

Can you use other signature instead of maintain the list of types with Uniform? Similar to the idea I attempt for #13356

I'm thinking of fixing the signature like exact and uniform to a better one #13301

@alamb
Copy link
Contributor

alamb commented Nov 14, 2024

I merged this PR up to resolve a conflict:

Screenshot 2024-11-14 at 4 10 26 PM

02)--TableScan: test projection=[column1_utf8view]

## Ensure no casts for nullif
query error DataFusion error: SQL error: ParserError\("Expected: an SQL statement, found: logical_plan"\)
Copy link
Contributor

@jayzhan211 jayzhan211 Nov 15, 2024

Choose a reason for hiding this comment

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

I recheck this and found this is error, why is that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like a merge error, fixing.

Copy link
Contributor

Choose a reason for hiding this comment

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

That was probably my bad -- sorry

@alamb alamb merged commit c51b432 into apache:main Nov 15, 2024
25 checks passed
@Omega359 Omega359 deleted the feature/nvl branch November 16, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functions sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support for utf8view type to Nvl function
3 participants