spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hyukjin Kwon <gurwls...@gmail.com>
Subject Re: spark java - convert string to date
Date Mon, 01 Aug 2016 01:46:59 GMT
I haven't used this by myself but I guess those functions should work.

unix_timestamp()
‚Äč


See
https://github.com/apache/spark/blob/480c870644595a71102be6597146d80b1c0816e4/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L2513-L2530



2016-07-31 22:57 GMT+09:00 Tony Lane <tonylane.nyc@gmail.com>:

> Any built in function in java with spark to convert string to date more
> efficiently
> or do we just use the standard java techniques
>
> -Tony
>

Mime
View raw message