I have a spark DataFrame with a column named "Ingredients". It has some values like:
['banana', 'apple']
['meat']
[]
[]
I want to look at only the []. Tried this:
display(df.filter(df.ingredients == []))
But got error:
java.lang.RuntimeException: Unsupported literal type class java.util.ArrayList []