You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Yosi Botzer <yo...@gmail.com> on 2014/03/12 14:27:51 UTC

date functions: to_month() to_year()

Hi,

Assuming that I have a column (part of the key) of type date, if I want to
aggregate by month or by year are there any functions like to_month() or
to_year() that I can use?

Yosi