Skip to content

Commit 42ba339

Browse files
committed
(re)moving some stuff from the decoupled :core module
1 parent cda9548 commit 42ba339

File tree

4 files changed

+7
-878
lines changed

4 files changed

+7
-878
lines changed

core/src/main/scala/org/jetbrains/kotlinx/spark/extensions/DemoCaseClass.scala

Lines changed: 0 additions & 3 deletions
This file was deleted.

core/src/main/scala/org/jetbrains/kotlinx/spark/extensions/KSparkExtensions.scala

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ import scala.reflect.ClassTag
2626

2727
object KSparkExtensions {
2828

29-
val kotlinVersion = /*$"\""+kotlin+"\""$*/ /*-*/ ""
30-
val scalaVersion = /*$"\""+scala+"\""$*/ /*-*/ ""
31-
val scalaCompatVersion = /*$"\""+scalaCompat+"\""$*/ /*-*/ ""
32-
val sparkVersion = /*$"\""+spark+"\""$*/ /*-*/ ""
33-
val sparkMinorVersion = /*$"\""+sparkMinor+"\""$*/ /*-*/ ""
34-
3529
def col(d: Dataset[_], name: String): Column = d.col(name)
3630

3731
def col(name: String): Column = functions.col(name)
@@ -46,19 +40,6 @@ object KSparkExtensions {
4640
//#endif
4741
}
4842

49-
50-
def debugCodegen(df: Dataset[_]): Unit = {
51-
import org.apache.spark.sql.execution.debug._
52-
df.debugCodegen()
53-
}
54-
55-
def debug(df: Dataset[_]): Unit = {
56-
import org.apache.spark.sql.execution.debug._
57-
df.debug()
58-
}
59-
60-
def sparkContext(s: SparkSession): SparkContext = s.sparkContext
61-
6243
/**
6344
* Produces a ClassTag[T], which is actually just a casted ClassTag[AnyRef].
6445
*

0 commit comments

Comments
 (0)