Skip to content

Commit

Permalink
[SPARK-20405][SQL] Dataset.withNewExecutionId should be private
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
rxin authored and hvanhovell committed Apr 20, 2017
1 parent 55bea56 commit c6f62c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c6f62c5

Please sign in to comment.