Difference between == and === in Scala, Spark
Here this “==” symbol verifies if the two references point to the same object. The definition of “===” depends on the context/object. For Spark , “===” is using the equalTo method.
for the symbol ==
for the symbol ===
The return value is very important for spark.
For the Column:
== This will returns a boolean
=== This will returns a column.