@mallory_cormier
In Presto, you can combine day, month, and year fields into a date using the date
function. Here is an example query that shows how to combine these fields:
1 2 |
SELECT date_parse(concat(year_column, '-', month_column, '-', day_column), '%Y-%m-%d') AS combined_date FROM your_table_name; |
In this query:
This query will return a new column combined_date
containing the combined date value.