@@ -19,9 +19,6 @@ package org.apache.spark.sql.execution
1919
2020import java .nio .ByteBuffer
2121
22- import org .apache .spark .sql .catalyst .expressions .GenericRow
23- import org .apache .spark .util .collection .OpenHashSet
24-
2522import scala .reflect .ClassTag
2623
2724import com .clearspring .analytics .stream .cardinality .HyperLogLog
@@ -31,6 +28,8 @@ import com.twitter.chill.{AllScalaRegistrar, ResourcePool}
3128
3229import org .apache .spark .{SparkEnv , SparkConf }
3330import org .apache .spark .serializer .{SerializerInstance , KryoSerializer }
31+ import org .apache .spark .sql .catalyst .expressions .GenericRow
32+ import org .apache .spark .util .collection .OpenHashSet
3433import org .apache .spark .util .MutablePair
3534import org .apache .spark .util .Utils
3635
@@ -47,7 +46,7 @@ private[sql] class SparkSqlSerializer(conf: SparkConf) extends KryoSerializer(co
4746 new HyperLogLogSerializer )
4847 kryo.register(classOf [scala.math.BigDecimal ], new BigDecimalSerializer )
4948
50- // Specific hashsets must come first
49+ // Specific hashsets must come first TODO: Move to core.
5150 kryo.register(classOf [IntegerHashSet ], new IntegerHashSetSerializer )
5251 kryo.register(classOf [LongHashSet ], new LongHashSetSerializer )
5352 kryo.register(classOf [org.apache.spark.util.collection.OpenHashSet [_]],
0 commit comments