'Max number of values that can be provided in Spark Filter condition

If I have a spark filter condition as below:

df2 = df1.filter("Status = 2 OR Status = 3")

What is the max number of values that I can provide for Status in the filter condition?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source