odps timestamp转date

利用cast强转

select cast('timestamp' as date)

from dual

你可能感兴趣的:(SQL,odps,sql)