distinct,DataFrame-method {SparkR} | R Documentation |
Return a new DataFrame containing the distinct rows in this DataFrame.
## S4 method for signature 'DataFrame' distinct(x)
x |
A SparkSQL DataFrame |
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D distinctDF <- distinct(df)
## End(Not run)