Hi,
What's the alternative? Dataset? You've got textFile then.
It's an older API from the ages when Dataset was merely experimental.
Jacek
On 29 Mar 2017 8:58 p.m., "George Obama" wrote:
> Hi,
>
> I saw that the API, either R or Scala, we are returning DataFrame for
> sparkSession.read.text()
SparkSession.read returns a DataFrameReader.
DataFrameReader supports a series of format, such as csv, json, text as you
mentioned.
check API to find more details:
+ http://spark.apache.org/docs/latest/api/scala/index.html#org
.apache.spark.sql.SparkSession
+ http://spark.apache.org/docs/latest/ap
Hi,
I saw that the API, either R or Scala, we are returning DataFrame for
sparkSession.read.text()
What’s the rational behind this?
Regards,
George