Hi, I have two separate csv files one with header and other with data. I read those two files in 2 different RDDs and now I need to merge both the RDDs.
I tried various options such as union, zip, join but none worked for my problem. What is the best way to merge two RDDs so that the header and data are merged into new RDD with header and data? Thanks, Hiral Mehta