Skip to content
Snippets Groups Projects
Commit c6f62c5b authored by Reynold Xin's avatar Reynold Xin Committed by Herman van Hovell
Browse files

[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.
parent 55bea569
No related branches found
No related tags found
No related merge requests found
...@@ -2778,7 +2778,7 @@ class Dataset[T] private[sql]( ...@@ -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 * Wrap a Dataset action to track all Spark jobs in the body so that we can connect them with
* an execution. * an execution.
*/ */
private[sql] def withNewExecutionId[U](body: => U): U = { private def withNewExecutionId[U](body: => U): U = {
SQLExecution.withNewExecutionId(sparkSession, queryExecution)(body) SQLExecution.withNewExecutionId(sparkSession, queryExecution)(body)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment