Tory
0
Q:

pyspark convert int to date

SELECT
    from_unixtime(unix_timestamp(CAST(date_var AS string) ,'yyyyMMdd'), 'yyyy-MM-dd') AS min_unix_date
1

New to Communities?

Join the community