Mastering Apache Spark

Updated a month ago

Thiago Baldim (@trbaldim) started discussion #131

a year ago · 0 comments


You can create encoders for Scala’s tuples and case classes, Int, Long, Double, etc.

Encoders — Internal Row Converters (Edit this file)

This encoders will work for primitive objects, but for default it will not going to work with custom objects. I found a solution in StackOverflow that explain how to use that with Kryo: http://stackoverflow.com/questions/36648128/how-to-store-custom-objects-in-a-dataset

No description provided.

No comments on this discussion.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant