I want to pass current_date through and return the last day of the month. I have tried LAST_DAY(current_date), but I am receiving the following error:
Function last_day not registered
I checked PrestoDB docs for a similar function. But, was unable to locate one.
Has anyone encountered similar in Athena, would you mind sharing how you resolved this? Thank you.