0

This is an example of the code I'm using:

class a(id: Int, color: Seq[String]) 
class b(id: Int, person: Seq[String]) 

The objective is to create a class c, where classes a and b are mixed with the same identifier and that has the following structure:

class c(id: Int, color: Seq[String], person: Seq[String])  

What would be the most correct way using the principles of spark?

0 Answers0