Re: [Spakr1.4.1] StuctField for date column in CSV file while creating custom schema

2015-12-29 Thread Raghavendra Pandey
U can use date type... On Dec 29, 2015 9:02 AM, "Divya Gehlot" wrote: > Hi, > I am newbee to Spark , > My appologies for such a naive question > I am using Spark 1.4.1 and wrtiting code in scala . I have input data as > CSVfile which I am parsing using spark-csv package

[Spakr1.4.1] StuctField for date column in CSV file while creating custom schema

2015-12-28 Thread Divya Gehlot
Hi, I am newbee to Spark , My appologies for such a naive question I am using Spark 1.4.1 and wrtiting code in scala . I have input data as CSVfile which I am parsing using spark-csv package . I am creating custom schema to process the CSV file . Now my query is which dataype or can say