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" <fjfb...@gmail.com> wrote: > 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 >