공부
[Spark & Hive] Convert date string to timestamp
승가비
2019. 1. 28. 22:17
728x90
[Spark & Hive] Convert date string to timestamp
CAST(
UNIX_TIMESTAMP(
'20190128', 'yyyyMMdd'
) AS TIMESTAMP
)
[출처] https://stackoverflow.com/questions/40763796/convert-date-from-string-to-date-format-in-dataframes
728x90