Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12338

Support dropping duplicated rows on selected columns in DataFrame in R style

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 1.5.2
    • None
    • SparkR

    Description

      in R, unique() can drop duplicated rows on all columns. And something like

      df[!duplicated(df[,c('x1', 'x2')]),]
      

      is used to drop duplicated rows on selected columns. It's better that my can support duplicated(), and subsetting a DataFrame using the result of duplicated().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunrui Sun Rui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: