aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorLiang-Chi Hsieh <simonh@tw.ibm.com>2016-04-01 14:02:32 -0700
committerDavies Liu <davies.liu@gmail.com>2016-04-01 14:02:32 -0700
commit3e991dbc310a4a33eec7f3909adce50bf8268d04 (patch)
treefde4fe5795f815d06f5be22020618d52411ec0ae /project
parent1b829ce13990b40fd8d7c9efcc2ae55c4dbc861c (diff)
downloadspark-3e991dbc310a4a33eec7f3909adce50bf8268d04.tar.gz
spark-3e991dbc310a4a33eec7f3909adce50bf8268d04.tar.bz2
spark-3e991dbc310a4a33eec7f3909adce50bf8268d04.zip
[SPARK-13674] [SQL] Add wholestage codegen support to Sample
JIRA: https://issues.apache.org/jira/browse/SPARK-13674 ## What changes were proposed in this pull request? Sample operator doesn't support wholestage codegen now. This pr is to add support to it. ## How was this patch tested? A test is added into `BenchmarkWholeStageCodegen`. Besides, all tests should be passed. Author: Liang-Chi Hsieh <simonh@tw.ibm.com> Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #11517 from viirya/add-wholestage-sample.
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index ff11775412..2be490b942 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -597,6 +597,10 @@ object MimaExcludes {
// for multilayer perceptron.
// This class is marked as `private`.
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.ann.SoftmaxFunction")
+ ) ++ Seq(
+ // [SPARK-13674][SQL] Add wholestage codegen support to Sample
+ ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.util.random.PoissonSampler.this"),
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.util.random.PoissonSampler.this")
)
case v if v.startsWith("1.6") =>
Seq(