I am looking for a way to query a collect_set/list column with multiple values using like operator.
In the below example I am looking to get the rows that have one of the values like '121%'
id values
1 ["8001","12100"]
2 ["12134","9999","2222"]
3 NULL
4 ["5671","9765]
Result:
id values
1 ["8001","12100"] -- because of 121 in 2nd value of the collect_set
2 ["12134","9999","2222"] -- because of 121 in first value of the collect_set
Any help will be appreciated. Thanks.