spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <>
Subject How to convert from DataFrame to Dataset[Row]?
Date Fri, 15 Jul 2016 19:21:42 GMT
In Spark 1.6.1, how can I convert a DataFrame to a Dataset[Row]?

Is there a direct conversion?  (Trying <someDataframe>.as[Row] doesn't work,
even after importing  <my sqlContext>.implicits._ .)

Is there some way to map the Rows from the Dataframe into the Dataset[Row]?
( would just make another Dataframe, right?)


To unsubscribe e-mail:

View raw message