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

[BUG]: add count_matches and fix a bunch of str functions #2946

Merged

Conversation

universalmind303
Copy link
Collaborator

a bunch of improvements to the str functions in SQL

@github-actions github-actions bot added the bug Something isn't working label Sep 26, 2024
Copy link

codspeed-hq bot commented Sep 26, 2024

CodSpeed Performance Report

Merging #2946 will not alter performance

Comparing universalmind303:str-functions-fix (69c09b1) with main (46c5a7e)

Summary

✅ 17 untouched benchmarks

Copy link
Member

@kevinzwang kevinzwang left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -17,13 +20,14 @@ impl SQLModule for SQLModuleUtf8 {
parent.add_fn("ends_with", EndsWith);
parent.add_fn("starts_with", StartsWith);
parent.add_fn("contains", Contains);
parent.add_fn("split", Split(true));
parent.add_fn("split", Split(false));
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated to this change, but it would be nice to have some docs on the Utf8Expr enum on what the boolean parameter for Split means, as well as the other enum values

@universalmind303 universalmind303 merged commit b2dabf6 into Eventual-Inc:main Sep 30, 2024
36 checks passed
sagiahrac pushed a commit to sagiahrac/Daft that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants