-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support special characters for <simple_term> in CONTAINS predicate (#…
…2319) * Support special characters for <simple_term> in CONTAINS clause Currently for full-text search, babelfish throws syntax error for usage special characters in the search conditions in CONTAINS predicate. This commit implements the logic to support their usage by mapping different set of special characters with respective unique hashes which are utilized during the lookup Task: BABEL-4651 Signed-off-by: Roshan Kanwar <[email protected]> * fix expected dependency file * fix expected create file * fix expected dependency and create output file * Added unsupported error for multiple special characters, refactored code, added upgrade tests, and upgraded test files for special chars. * updated headers file * fixed indentation and refactored code * fix changes * turn the escape hatch for fulltext search on by default, updated logic for handling consecutive special characters during fts * fix build failures * fix build failures * updated test files and fixed errors * fixed indentation * add more test cases for special characters * added more test cases * added more test cases * updated test cases and handling for various categories * updated logic and handled more cases --------- Signed-off-by: Roshan Kanwar <[email protected]>
- Loading branch information
1 parent
ab83b9e
commit 2411902
Showing
26 changed files
with
3,039 additions
and
158 deletions.
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
Oops, something went wrong.