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

Enable regexp empty string short circuit on shim version 3.1.3 #5841

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

anthony-chang
Copy link
Contributor

Closes #5836

Related to #5740, the Spark-side fix for inputs with an empty string using a regex pattern containing only zero-repetitions was not added to version 3.1.3. This PR reproduces the bug to match Spark's behaviour.

Signed-off-by: Anthony Chang antchang@nvidia.com

Signed-off-by: Anthony Chang <antchang@nvidia.com>
@anthony-chang anthony-chang requested a review from tgravescs June 15, 2022 16:51
@anthony-chang anthony-chang self-assigned this Jun 15, 2022
@anthony-chang
Copy link
Contributor Author

build

@tgravescs
Copy link
Collaborator

https://issues.apache.org/jira/browse/SPARK-39107 says it was fixed in 3.1.3... but looking at the PR it seems it was merged into branch3.1 after 3.1.3 was released so I'll update that issue.

@tgravescs tgravescs merged commit 9878098 into NVIDIA:branch-22.08 Jun 16, 2022
@tgravescs tgravescs added the bug Something isn't working label Jun 16, 2022
@tgravescs tgravescs added this to the Jun 6 - Jun 17 milestone Jun 16, 2022
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.

[BUG] string_test.py::test_re_replace_repetition failed IT
2 participants