Create DataFrame without using spark

Viewed 30

I have a List[Row] and StructType as schema. I need to use them to create DataFrame. The simplest way is to use createDataFrame(rows, schema) method, but spark is unfortunatelly not available in my application. I know I can use toDf() method on list or seq, but this way I have no possibility to control schema. Is there any way I could achieve my goal without using spark itself?

0 Answers
Related