jeudi 13 août 2015

How to sort Row RDD that contains mixures of Rows to make multiple dataframes with different schemas?

I created JavaRDD<Row> row with Rows from a single transformation that will form 3 DataFrame, but the Rows in that RDD is mixed together so I cannot do sqlContext.createDataFrame(row, schema) because there are 3 different schema. How would I split up row so that I can form 3 different Dataframes?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire