I am new to Hive and am trying to do a search similar to the following:
SELECT * FROM table1 WHERE col1 LIKE "%abcd%";
However, when I do I get the following error:
Error while compiling statement: FAILED: SemanticException [Error 10014]: Line 1:30 Wrong arguments '"%abcd%"': No matching method for class org.apache.hadoop.hive.ql.udf.UDFLike with (map, string). Possible choices: FUNC(string, string)
It looks like col1 has the wrong type, namely a data type of map. Is there a simple way to search this column for the '%abcd%' pattern? Thanks!