-
Notifications
You must be signed in to change notification settings - Fork 29k
Revert "[SPARK-30625][SQL] Support escape as third parameter of the like function
#27531
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
Conversation
… `like` function" This reverts commit 8aebc80.
|
@rednaxelafx @gatorsmile Please, review this PR. I haven't run tests locally, let's wait for jenkins. |
|
Thank you for making a swift action, @MaxGekk . |
rednaxelafx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick response, @MaxGekk !
This revert mostly LGTM except for one inline comment below:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala
Outdated
Show resolved
Hide resolved
|
Test build #118181 has finished for PR 27531 at commit
|
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine given the discussion made in the linked PR.
|
Test build #118211 has finished for PR 27531 at commit
|
|
jenkins, retest this, please |
rednaxelafx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the update. Thanks @MaxGekk !
…-3-args # Conflicts: # sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala
|
Test build #118218 has finished for PR 27531 at commit
|
|
Test build #118231 has finished for PR 27531 at commit
|
| String $rightStr = $eval2.toString(); | ||
| $patternClass $pattern = $patternClass.compile( | ||
| $escapeFunc($rightStr, '$newEscapeChar')); | ||
| ${ev.value} = $pattern.matcher($eval1.toString()).matches(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for me: This part is a logical reverting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you all
Merged to master.
|
Could you make a backport to |
|
Actually that conflict is by me #27514. Let me handle it. |
… `like` function In the PR, I propose to revert the commit 8aebc80. See the concerns #27355 (comment) No By existing test suites. Closes #27531 from MaxGekk/revert-like-3-args. Authored-by: Maxim Gekk <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
|
Thank you, @HyukjinKwon ! |
… `like` function ### What changes were proposed in this pull request? In the PR, I propose to revert the commit 8aebc80. ### Why are the changes needed? See the concerns apache#27355 (comment) ### Does this PR introduce any user-facing change? No ### How was this patch tested? By existing test suites. Closes apache#27531 from MaxGekk/revert-like-3-args. Authored-by: Maxim Gekk <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
In the PR, I propose to revert the commit 8aebc80.
Why are the changes needed?
See the concerns #27355 (comment)
Does this PR introduce any user-facing change?
No
How was this patch tested?
By existing test suites.