Hi,

This is an ugly solution because it requires pulling out a row:

    val rdd: RDD[Row] = ...
    ctx.createDataFrame(rdd, rdd.first().schema)

Is there a better alternative to get a DataFrame from an RDD[Row] since
toDF won't work as Row is not a Product ?


Thanks,
Marius

Reply via email to