'how to pass the arguments to the function given below, I am using a DS applied on case class. apparently the function is expecting seq[case class]

enter image description here AddressRawData and AddressData both are case class I am getting data in the addressDF

enter image description here

Now I have to parse the data to the function addressParser, Unfortunately the parser is expecting Seq[AddressData] and returning Seq[AddressData] Keeping the function "addressParser" untouched how do I pass my addressDS to the function "addressParser" ? enter image description here

enter image description here

I have attached my code on the below url [email protected]:chameleonlabs2021/assessment.git



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source