File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/types Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1717
1818package org .apache .spark .sql .types
1919
20- import scala .reflect .ClassTag
21- import scala .reflect .runtime .universe .{runtimeMirror , TypeTag }
20+ import scala .reflect .runtime .universe .TypeTag
2221
2322import org .apache .spark .annotation .DeveloperApi
24- import org .apache .spark .sql .catalyst .ScalaReflectionLock
2523import org .apache .spark .sql .catalyst .expressions .Expression
26- import org .apache .spark .util .Utils
2724
2825/**
2926 * A non-concrete data type, reserved for internal uses.
@@ -130,11 +127,6 @@ protected[sql] abstract class AtomicType extends DataType {
130127 private [sql] type InternalType
131128 private [sql] val tag : TypeTag [InternalType ]
132129 private [sql] val ordering : Ordering [InternalType ]
133-
134- @ transient private [sql] val classTag = ScalaReflectionLock .synchronized {
135- val mirror = runtimeMirror(Utils .getSparkClassLoader)
136- ClassTag [InternalType ](mirror.runtimeClass(tag.tpe))
137- }
138130}
139131
140132
You can’t perform that action at this time.
0 commit comments