Hi.
I used the following to create a table:
create table .....( ..., discovery_date_d STRING, year timestamp with time zone GENERATED ALWAYS AS date_trunc('year', discovery_date_d)) PARTITIONED BY (year);
I now wish to query as follows:
select year, sum(...) from ... group by year
How do I get the ‘year’ to display in a readable format like ‘1970’ and not ‘1420070400000’
Sorry for the noob question.