spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-21174) Validate sampling fraction in logical operator level
Date Thu, 22 Jun 2017 07:01:08 GMT

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

Apache Spark commented on SPARK-21174:
--------------------------------------

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

> Validate sampling fraction in logical operator level
> ----------------------------------------------------
>
>                 Key: SPARK-21174
>                 URL: https://issues.apache.org/jira/browse/SPARK-21174
>             Project: Spark
>          Issue Type: Improvement
>          Components: Optimizer
>    Affects Versions: 2.2.0
>            Reporter: Gengliang Wang
>            Priority: Minor
>
> Currently the validation of sampling fraction in dataset is incomplete.
> As an improvement, validate sampling ratio in logical operator level:
>     1) if with replacement: ratio should be nonnegative
>     2) else: ratio should be on interval [0, 1]
> Also add test cases for the validation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message