We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce0e126 commit c0dcd24Copy full SHA for c0dcd24
sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
@@ -578,9 +578,6 @@ final class DataFrameWriter[T] private[sql](ds: Dataset[T]) {
578
private def runCommand(session: SparkSession, name: String)(command: LogicalPlan): Unit = {
579
val qe = session.sessionState.executePlan(command)
580
try {
581
- qe.executedPlan.foreach { plan =>
582
- plan.resetMetrics()
583
- }
584
val start = System.nanoTime()
585
// call `QueryExecution.toRDD` to trigger the execution of commands.
586
qe.toRdd
0 commit comments