Re: [Example] : read custom schema from file

2016-02-22 Thread Akhil Das
If you are talking about a CSV kind of file, then here's an example http://spark.apache.org/docs/latest/sql-programming-guide.html#inferring-the-schema-using-reflection Thanks Best Regards On Mon, Feb 22, 2016 at 1:10 PM, Divya Gehlot wrote: > Hi, > Can anybody help me

Re: [Example] : read custom schema from file

2016-02-22 Thread Mohannad Ali
Hello Divya, What kind of file? Best Regards, Mohannad On Mon, Feb 22, 2016 at 8:40 AM, Divya Gehlot wrote: > Hi, > Can anybody help me by providing me example how can we read schema of the > data set from the file. > > > > Thanks, > Divya >

[Example] : read custom schema from file

2016-02-21 Thread Divya Gehlot
Hi, Can anybody help me by providing me example how can we read schema of the data set from the file. Thanks, Divya