Oh my my I am so silly
I can declare it as string and cast it to date
My apologies for Spamming the mailing list.
Thanks,
Divya
On 21 March 2016 at 14:51, Divya Gehlot wrote:
> Hi,
> In Spark 1.5.2
> Do we have any utiility which converts a constant value as shown
Hi,
In Spark 1.5.2
Do we have any utiility which converts a constant value as shown below
orcan we declare a date variable like val start_date :Date = "2015-03-02"
val start_date = "2015-03-02" toDate
like how we convert to toInt ,toString
I searched for it but couldnt find it
Thanks,
Divya