Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Issue Unable to find encoder for type stored in a Dataset
Solution
Import Spark implicits in the right scope resolves the issue.
import spark.implicits._
References
https://stackoverflow.com/questions/38664972/why-is-unable-to-find-encoder-for-type-stored-in-a-dataset-when-creating-a-dat