Github user dbtsai commented on the issue:
https://github.com/apache/spark/pull/21416
@cloud-fan unfortunately, scala vararg can not be overloaded, and scala
will return the following error.
```scala
Error:(410, 32) ambiguous reference to overloaded definition,
both method isin in class Column of type (values:
Iterable[_])org.apache.spark.sql.Column
and method isin in class Column of type (list:
Any*)org.apache.spark.sql.Column
match argument types (Seq[Int])
checkAnswer(df.filter($"a".isin(Seq(1, 2))),
```
I'm leaning toward to using `isInCollection` now, and implement the
corresponding python APIs.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]