You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering why TDigest is not Serializable. I found myself writing some boilerplate code to serialize/deserialize it between tasks when using it in Spark and it would be cool if it was serializable by default. This is what I have to do now:
I was wondering why TDigest is not Serializable. I found myself writing
some boilerplate code to serialize/deserialize it when using it in Spark
and it would be cool if it was serializable by default. This is what I have
to do now:
def serialize(tdigest: TDigest) = {
val arr = new ArrayByte
tdigest.asBytes(ByteBuffer.wrap(arr))
arr
}
I was wondering why TDigest is not Serializable. I found myself writing some boilerplate code to serialize/deserialize it between tasks when using it in Spark and it would be cool if it was serializable by default. This is what I have to do now:
Do you have any thoughts on that? I could submit a PR for this if you think it'd be useful.
The text was updated successfully, but these errors were encountered: