Skip to content

Commit e6d57a3

Browse files
committed
[SPARK-7011] Build fails with scala 2.11 option, because a protected[sql] type is accessed in ml package.
1 parent 6fe690d commit e6d57a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/types/dataTypes.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class NullType private() extends DataType {
299299
case object NullType extends NullType
300300

301301

302-
protected[sql] object NativeType {
302+
protected[spark] object NativeType {
303303
val all = Seq(
304304
IntegerType, BooleanType, LongType, DoubleType, FloatType, ShortType, ByteType, StringType)
305305

@@ -327,7 +327,7 @@ protected[sql] object PrimitiveType {
327327
}
328328
}
329329

330-
protected[sql] abstract class NativeType extends DataType {
330+
protected[spark] abstract class NativeType extends DataType {
331331
private[sql] type JvmType
332332
@transient private[sql] val tag: TypeTag[JvmType]
333333
private[sql] val ordering: Ordering[JvmType]

0 commit comments

Comments
 (0)