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 for new position parameter in Spark 3.1.0 RegExpReplace #1012

Merged
merged 2 commits into from
Oct 23, 2020

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Oct 23, 2020

Spark 3.1.0 added a new search start position parameter to the RegExpReplace expression. This moves the rule for RegExpReplace into the shims and updates the 3.1.0 version to only allow conversion to the GPU if the start position is foldable and evaluates to 1.

This is based upon the fix in #1009 to get the build to pass.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the build Related to CI / CD or cleanly building label Oct 23, 2020
@jlowe jlowe added this to the Oct 12 - Oct 23 milestone Oct 23, 2020
@jlowe jlowe self-assigned this Oct 23, 2020
@jlowe
Copy link
Member Author

jlowe commented Oct 23, 2020

build

@jlowe
Copy link
Member Author

jlowe commented Oct 23, 2020

Note that this should not be committed with a squash commit since it is based on the other PR. We should either force-merge the other PR first then this one, or merge this with a rebase to preserve the separate commits.

@jlowe
Copy link
Member Author

jlowe commented Oct 23, 2020

Filed #1013 to track supporting more values than just 1 for the position parameter.

@revans2 revans2 merged commit 3c3ed67 into NVIDIA:branch-0.3 Oct 23, 2020
@jlowe jlowe deleted the fix-310-regexpreplace branch October 28, 2020 16:41
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants