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

ARROW-12944: [C++] String capitalize kernel #10857

Closed

Conversation

edponce
Copy link
Contributor

@edponce edponce commented Aug 3, 2021

This PR adds scalar compute functions for string capitalization, namely "ascii_capitalize" and "utf8_capitalize".

@github-actions
Copy link

github-actions bot commented Aug 3, 2021

@edponce edponce force-pushed the ARROW-12944-String-capitalize-kernel branch from c1b73ae to 6ae88fd Compare August 3, 2021 14:48
@edponce edponce requested a review from pitrou August 3, 2021 15:15
@pitrou pitrou force-pushed the ARROW-12944-String-capitalize-kernel branch from 18c4f01 to 9d7f298 Compare August 4, 2021 12:12
@pitrou
Copy link
Member

pitrou commented Aug 4, 2021

Rebased, will merge if green.

@edponce edponce force-pushed the ARROW-12944-String-capitalize-kernel branch from 9d7f298 to 4f82d0d Compare August 4, 2021 12:36
@edponce
Copy link
Contributor Author

edponce commented Aug 4, 2021

@pitrou I pushed a change after you rebased, so I will fix conflicts and re-push.

@pitrou
Copy link
Member

pitrou commented Aug 4, 2021

Hmm, another commit was lost then...

@pitrou
Copy link
Member

pitrou commented Aug 4, 2021

Recommend starting from 9d7f298 and then applying the buffer overflow fix.

@edponce edponce force-pushed the ARROW-12944-String-capitalize-kernel branch from 4f82d0d to 997919e Compare August 4, 2021 13:41
@pitrou pitrou closed this in 99c9231 Aug 4, 2021
@edponce
Copy link
Contributor Author

edponce commented Aug 5, 2021

Some tests invoke the incorrect kernel (ASCII test uses utf8_capitalize and viceversa). These "typos" are fixed in #10869

michalursa pushed a commit to michalursa/arrow that referenced this pull request Aug 17, 2021
This PR adds scalar compute functions for string capitalization, namely "ascii_capitalize" and "utf8_capitalize".

Closes apache#10857 from edponce/ARROW-12944-String-capitalize-kernel

Authored-by: Eduardo Ponce <edponce00@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants