feiyun0112
Honored Contributor
df.select("field1","field2","field3").distinct()

do you mean get distinct rows for selected column?