You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/03/08 15:09:40 UTC

[jira] [Commented] (SPARK-13742) Add non-iterator interface to RandomSampler

    [ https://issues.apache.org/jira/browse/SPARK-13742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184942#comment-15184942 ] 

Apache Spark commented on SPARK-13742:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/11578

> Add non-iterator interface to RandomSampler
> -------------------------------------------
>
>                 Key: SPARK-13742
>                 URL: https://issues.apache.org/jira/browse/SPARK-13742
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Liang-Chi Hsieh
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org