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
wants to merge 1 commit into from

Conversation

demetribu
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

@demetribu demetribu force-pushed the update-ascii-utf8view-11834 branch from 2d2ea14 to 88535da Compare August 8, 2024 10:14
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Aug 8, 2024
@demetribu demetribu force-pushed the update-ascii-utf8view-11834 branch from 88535da to 7e49d69 Compare August 8, 2024 10:36
@github-actions github-actions bot added the core Core DataFusion crate label Aug 8, 2024
@demetribu
Copy link
Contributor Author

I will re-create the PR.

@demetribu demetribu closed this Aug 8, 2024
@demetribu demetribu 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