-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-28083][SQL] Support LIKE ... ESCAPE syntax #25001
Closed
Closed
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
4f5016a
add like escape.
beliefer 8609a46
Fix scala style.
beliefer 8992b5a
Supplement ESCAPE in g4.
beliefer c9d7dfe
adjust code.
beliefer b5be74a
adjust code.
beliefer 6ac3f21
Fix UT.
beliefer 5303564
Add ESCAPE to reserved in SQL-2011.
beliefer aef7dcb
Optimize code and update TableIdentifierParserSuite.
beliefer 77f2d98
Optimize code and update TableIdentifierParserSuite.
beliefer caef102
Optimize code and update TableIdentifierParserSuite.
beliefer a0ceae1
Optimize code and update TableIdentifierParserSuite.
beliefer 28a566d
code optimize.
beliefer f360f43
Optimize code.
beliefer be0c1d9
Optimize code.
beliefer aa81a56
Optimize code.
beliefer 4b1fed8
Optimize code.
beliefer 3e3f2b6
Optimize code.
beliefer 9509c73
Merge branch 'ansi-sql-like-test2' into ansi-sql-like
beliefer 0bcb027
optimize code.
beliefer b5a3cc7
optimize code.
beliefer 56f5f8a
change Option to Some
beliefer 64963ca
add blank
beliefer 7fd5a7f
length() -> length
beliefer 0650ef8
update the description for escape and the usage.
beliefer 479e24a
update description of Like
beliefer 103203f
update description
beliefer 5990545
try to unify escapeChar
beliefer 31f1c7c
try to unify escapeChar
beliefer 1c0440e
try to unify escapeChar
beliefer dbc4388
split test case.
beliefer 8a89f92
split test case.
beliefer 410dd85
split test case.
beliefer 33c7ad4
supplement comment.
beliefer a57e25c
Hide ESCAPE section without escape char.
beliefer 99bbc2f
Merge branch 'ansi-sql-like-test3' into ansi-sql-like
beliefer bcda7d1
Add tests in SQLQueryTestSuite.
beliefer 9901924
Adjust UT.
beliefer f5490c6
Fix bug.
beliefer 7f6e3d1
Fix scala style.
beliefer 856242c
Merge branch 'ansi-sql-like-test3' into ansi-sql-like
beliefer 3d01650
Optimize code.
beliefer 420f1b9
Fix bug of escape
beliefer 2b4c59a
Fix bug of escape
beliefer 9f7707b
Optimize code.
beliefer 24a796e
Supplement comment.
beliefer 6b60360
Optimize code.
beliefer aa6c785
Forbid empty string as escape char.
beliefer aa0f2f7
Optimize code.
beliefer bb0be67
Supplement comment.
beliefer 10f42f4
Remove like escape in Column.
beliefer 738ca18
Fix CONFLICT.
beliefer 134fd1f
Fix conflict.
beliefer 24c4be7
Fix check outputs of expression examples.
beliefer 3964414
Add comment for double escape \ and "
beliefer 88a4e3e
Improve code
beliefer f539524
Adjust UT
beliefer a891139
Adjust UT
beliefer fd8c5a7
Restore escape to reserved.
beliefer 0a51849
Adjust parameter.
beliefer 64e49b7
Adjust parameter.
beliefer 9feb25d
Update comment
beliefer 4cc9e0a
Optimize code
beliefer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this doesn't apply to RLIKE?
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.
Yes.