spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arush Kharbanda <ar...@sigmoidanalytics.com>
Subject Re: Spark SQL: Day of month from Timestamp
Date Tue, 24 Mar 2015 07:29:12 GMT
Hi

You can use functions like year(date),month(date)

Thanks
Arush

On Tue, Mar 24, 2015 at 12:46 PM, Harut Martirosyan <
harut.martirosyan@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
>



-- 

[image: Sigmoid Analytics] <http://htmlsig.com/www.sigmoidanalytics.com>

*Arush Kharbanda* || Technical Teamlead

arush@sigmoidanalytics.com || www.sigmoidanalytics.com

Mime
View raw message