Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
szehon-ho committed Sep 13, 2024
1 parent 8864b18 commit 4275dcc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 102 deletions.
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 @@ -63,8 +63,8 @@ import org.apache.spark.sql.execution.stat.StatFunctions
import org.apache.spark.sql.functions.expr
import org.apache.spark.sql.internal.{DataFrameWriterImpl, DataFrameWriterV2Impl, MergeIntoWriterImpl, SQLConf, ToScalaUDF}
import org.apache.spark.sql.internal.ExpressionUtils.column
import org.apache.spark.sql.internal.TypedAggUtils.withInputType
import org.apache.spark.sql.internal.SQLConf
import org.apache.spark.sql.internal.TypedAggUtils.withInputType
import org.apache.spark.sql.streaming.DataStreamWriter
import org.apache.spark.sql.types._
import org.apache.spark.sql.util.SchemaUtils
Expand Down
16 changes: 0 additions & 16 deletions sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
Original file line number Diff line number Diff line change
Expand Up @@ -658,22 +658,6 @@ class SparkSession private(
*/
def readStream: DataStreamReader = new DataStreamReader(self)

/**
* Executes some code block and prints to stdout the time taken to execute the block. This is
* available in Scala only and is used primarily for interactive testing and debugging.
*
* @since 2.1.0
*/
def time[T](f: => T): T = {
val start = System.nanoTime()
val ret = f
val end = System.nanoTime()
// scalastyle:off println
println(s"Time taken: ${NANOSECONDS.toMillis(end - start)} ms")
// scalastyle:on println
ret
}

// scalastyle:off
// Disable style checker so "implicits" object can start with lowercase i
/**
Expand Down
85 changes: 0 additions & 85 deletions sql/core/src/main/scala/org/apache/spark/sql/UpdateWriter.scala

This file was deleted.

0 comments on commit 4275dcc

Please sign in to comment.