I'm trying to execute a query with Spark.
(Example from the Spark Documentation)
val teenagers = people.where('age >= 10).where('age <= 19).select('name)
Is it possible to execute an OR with this syntax?
val teenagers = people.where('age >= 10 'or 'age <= 4).where('age <=
19).select('name)
I have tried different ways and I didn't get it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]