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