Skip to content

Commit c77c87b

Browse files
committed
cleanup debugging code
1 parent 60e4e2f commit c77c87b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/scala/org/apache/spark/api/python/SerDeUtil.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private[python] object SerDeUtil extends Logging {
5252
// };
5353
// TODO: support Py_UNICODE with 2 bytes
5454
// FIXME: unpickle array of float is wrong in Pyrolite, so we reverse the
55-
// machine code for float/double here to work arround it.
55+
// machine code for float/double here to workaround it.
5656
// we should fix this after Pyrolite fix them
5757
val machineCodes: Map[Char, Int] = if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) {
5858
Map('c' -> 1, 'B' -> 0, 'b' -> 1, 'H' -> 3, 'h' -> 5, 'I' -> 7, 'i' -> 9,
@@ -69,7 +69,6 @@ private[python] object SerDeUtil extends Logging {
6969
} else if (args.length == 2 && args(1).isInstanceOf[String]) {
7070
val typecode = args(0).asInstanceOf[String].charAt(0)
7171
val data: String = args(1).asInstanceOf[String]
72-
println(typecode, machineCodes(typecode), data.length, data.toList)
7372
construct(typecode, machineCodes(typecode), data.getBytes("ISO-8859-1"))
7473
} else {
7574
super.construct(args)

0 commit comments

Comments
 (0)