I did the following to convert DATE into a DATE STRING
SELECT
cast(date(from_unixtime(time)) as date_string) as dateid
from table A
but was returned an error - line 3:1: Unknown type: date_string. Does anyone know what is wrong with my CAST syntax?
date_string? Why not just use something likevarchar(255)? - Gordon Linoff