Yes, it'd be added to timestamp-functions.h in the BE and the symbol
exposed in impala_functions.py.

It looks like boost has a function called "end_of_month()":
http://www.boost.org/doc/libs/1_64_0/doc/html/date_time/gregorian.html

though I'm not sure if there are corner cases to consider.

Best,
Matt

On Tue, May 23, 2017 at 2:59 PM, Vincent Tran <[email protected]> wrote:
> Hey guys,
>
> I want to implement last_day() for IMPALA-5316. The description seems
> pretty straight forward. I assume that this should be implemented as a
> builtin function in BE?

Reply via email to