目的
把'20210405'
转换为'2021-04-05'
select from_unixtime(unix_timestamp('20210405','yyyyMMdd'),'yyyy-MM-dd')
--2021-04-05
目的
把'20210405'
转换为'2021-04-05'
select from_unixtime(unix_timestamp('20210405','yyyyMMdd'),'yyyy-MM-dd')
--2021-04-05