ezoic

Wednesday, June 7, 2017

Spark SQL query in cluase for strings


val list = List("a","b")
val query = s"select * from df where uid in
 (${list.map ( x => "'" + x + "'").mkString(",") })"
 
 

No comments:

Post a Comment

looking for a man

 I am a mid aged woman. I live in southern california.  I was born in 1980. I do not have any kid. no compliacted dating.  I am looking for ...