jaceklaskowski
Mastering Apache Spark 2 (Spark 2.2+)

Updated 2 months ago

Thiago Baldim (@trbaldim) started discussion #131

a year ago · 0 comments

Open

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
Notifications

You’re not receiving notifications from this thread.


1 participant