If we sort a Spark Dataframe by col1 and then dropDuplicates on col2, will it retain the first row (which will have the highest col1 value for each col2)?
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/In-Spark-Dataframes-does-dropDuplicates-retain-the-first-row-tp26236.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org