Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr authored and jkbradley committed Nov 2, 2014
1 parent 3143ac3 commit 87264a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ private[spark] class VectorUDT extends UserDefinedType[Vector] {
new SparseVectorUDT().deserialize(row.getAs[Row](2))
}
}

// override def userType: Class[Vector] = classOf[Vector]
}

/**
Expand All @@ -320,8 +318,6 @@ private[spark] class DenseVectorUDT extends UserDefinedType[DenseVector] {
val values = row.getAs[Seq[Double]](0).toArray
new DenseVector(values)
}

// override def userType: Class[DenseVector] = classOf[DenseVector]
}

/**
Expand Down Expand Up @@ -353,5 +349,3 @@ private[spark] class SparseVectorUDT extends UserDefinedType[SparseVector] {
new SparseVector(vSize, indices, values)
}

// override def userType: Class[SparseVector] = classOf[SparseVector]
}
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ case class MapType(
@DeveloperApi
abstract class UserDefinedType[UserType] extends DataType with Serializable {

// def userType: Class[UserType]

/** Underlying storage type for this UDT used by SparkSQL */
def sqlType: StructType

Expand Down

0 comments on commit 87264a5

Please sign in to comment.