Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11503 SQL API audit for Spark 1.6
  3. SPARK-11508

Add Python API for repartition and sortWithinPartitions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • SQL
    • None

    Description

      We added a few new methods in 1.6 that are still missing in Python:

      def repartition(numPartitions: Int, partitionExprs: Column*): DataFrame
      
      def repartition(partitionExprs: Column*): DataFrame
      
      def sortWithinPartitions(sortExprs: Column*): DataFrame
      
      def sortWithinPartitions(sortCol: String, sortCols: String*): DataFrame
      

      Attachments

        Activity

          People

            nongli Nong Li
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: