Skip to content

Commit c6f62c5

Browse files
rxinhvanhovell
authored andcommitted
[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.
1 parent 55bea56 commit c6f62c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,7 +2778,7 @@ class Dataset[T] private[sql](
27782778
* Wrap a Dataset action to track all Spark jobs in the body so that we can connect them with
27792779
* an execution.
27802780
*/
2781-
private[sql] def withNewExecutionId[U](body: => U): U = {
2781+
private def withNewExecutionId[U](body: => U): U = {
27822782
SQLExecution.withNewExecutionId(sparkSession, queryExecution)(body)
27832783
}
27842784

0 commit comments

Comments
 (0)