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

Dataset.randomSplit() needs a Java version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SQL
    • None

    Description

      Dataset.randomSplit() now returns Array[Dataset[T]], which doesn't work for Java users since Java methods can't return generic arrays. We may want something like randomSplitAsList().

      Attachments

        Activity

          People

            rekhajoshm Rekha Joshi
            lian cheng Cheng Lian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: