diff options
author | Reynold Xin <rxin@databricks.com> | 2017-04-20 14:29:59 +0200 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2017-04-20 14:29:59 +0200 |
commit | c6f62c5b8106534007df31ca8c460064b89b450b (patch) | |
tree | f15ecd70d05bc3a0b416c1c207ea6661208a4cbe | |
parent | 55bea56911a958f6d3ec3ad96fb425cc71ec03f4 (diff) | |
download | spark-c6f62c5b8106534007df31ca8c460064b89b450b.tar.gz spark-c6f62c5b8106534007df31ca8c460064b89b450b.tar.bz2 spark-c6f62c5b8106534007df31ca8c460064b89b450b.zip |
[SPARK-20405][SQL] Dataset.withNewExecutionId should be private
## What changes were proposed in this pull request?
Dataset.withNewExecutionId is only used in Dataset itself and should be private.
## How was this patch tested?
N/A - this is a simple visibility change.
Author: Reynold Xin <rxin@databricks.com>
Closes #17699 from rxin/SPARK-20405.
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala b/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala index 520663f624..c6dcd93bbd 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala @@ -2778,7 +2778,7 @@ class Dataset[T] private[sql]( * Wrap a Dataset action to track all Spark jobs in the body so that we can connect them with * an execution. */ - private[sql] def withNewExecutionId[U](body: => U): U = { + private def withNewExecutionId[U](body: => U): U = { SQLExecution.withNewExecutionId(sparkSession, queryExecution)(body) } |