Aggregation Query DSL
GROUP BY clause
Group by a truncated datetime
Group the input rows based on the specified column expression truncated to the specified granularity.
This is similar to the DATE_TRUNC
function in SQL.
Group by a date or time component
Group the input rows based on a specific date or time component extracted from the specified column expression.
This is similar to the DATE_PART
function in SQL.