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

Add non-iterator interface to RandomSampler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Spark Core
    • None

    Description

      RandomSampler.sample currently accepts iterator as input and output another iterator. This makes it inappropriate to use in wholestage codegen of Sampler operator. We should add non-iterator interface to RandomSampler.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: