On Wed, Jul 20, 2016 at 1:22 PM, Rishabh Bhardwaj <[email protected]> wrote:

> val new_df = df.select(from_unixtime($"time").as("newtime"))

or better yet using tick (less typing and more prose than code :))

df.select(from_unixtime('time) as "newtime")

Jacek

---------------------------------------------------------------------
To unsubscribe e-mail: [email protected]

Reply via email to