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

Update ASCII scalar function to support Utf8View #11834 #11851

Closed

Conversation

dmitrybugakov
Copy link
Contributor

Which issue does this PR close?

Closes #11834

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

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.

Looks good to me -- thank you @dmitrybugakov

cc @tshauck -- your ticket strategy is working!

}
}

fn calculate_ascii<'a, I>(string_array: I) -> Result<ArrayRef>
Copy link
Contributor

Choose a reason for hiding this comment

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

👨‍🍳 👌

@alamb
Copy link
Contributor

alamb commented Aug 6, 2024

FWIW it might be nice to add some slt tests too

Here are the instructions: https://github.com/apache/datafusion/tree/main/datafusion/sqllogictest

Perhaps add to string_view.slt in https://github.com/apache/datafusion/tree/main/datafusion/sqllogictest/test_files

@github-actions github-actions bot added the core Core DataFusion crate label Aug 8, 2024
@dmitrybugakov
Copy link
Contributor Author

I will re-create the PR.

@dmitrybugakov dmitrybugakov deleted the update-ascii-utf8view-11834 branch August 8, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the ASCII scalar function to support Utf8View
3 participants