How to search an array of words in a text field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2022 07:32 PM
Example:
TABLE 1
FIELD_TEXT
I like salty food and Italian food
I have Italian food
bread, rice and beans
mexican foods
coke, sprite
array
['italia', 'mex','coke']
match TABLE1 X ARRAY
Results:
I like salty food and Italian food
I have Italian food
mexican foods
is it possible to do in sql or pyspark?
Labels:
- Labels:
-
Array
-
SQL
-
Text Field