Spark SQL: Day of month from Timestamp

2015-03-24 Thread Harut Martirosyan
Hi guys. Basically, we had to define a UDF that does that, is there a built in function that we can use for it? -- RGRDZ Harut

Re: Spark SQL: Day of month from Timestamp

2015-03-24 Thread Arush Kharbanda
Hi You can use functions like year(date),month(date) Thanks Arush On Tue, Mar 24, 2015 at 12:46 PM, Harut Martirosyan harut.martiros...@gmail.com wrote: Hi guys. Basically, we had to define a UDF that does that, is there a built in function that we can use for it? -- RGRDZ Harut --