Spark DataFrame obtiene valores únicos
df.select('col_name').distinct().show()
Dov Chriqui
df.select('col_name').distinct().show()