So I have a table with one column of map type (the key and value are both strings).
I'd like to write Spark SQL like this to check if given key exists in the map.
select count(*) from my_table where map_contains_key(map_column, "testKey")
How can I do this?