I have a hive table and had to put a filter where the value of the column =[]. The type of the column in array<array<string>>
. I tried to use array_contains
but gave the following error
Error while compiling statement: FAILED: SemanticException [Error 10016]: line 2:41 Argument type mismatch ''[]'': "array" expected at function ARRAY_CONTAINS, but "string" is found
The sample values of the column could be
[]
[['a','b', 'c']]
[['a'],['b'], ['c']]
[]