chunweilei commented on a change in pull request #1099: [CALCITE-2908] 
Implement SQL LAST_DAY function
URL: https://github.com/apache/calcite/pull/1099#discussion_r264487865
 
 

 ##########
 File path: site/_docs/reference.md
 ##########
 @@ -1236,6 +1236,7 @@ Not implemented:
 | SECOND(date)              | Equivalent to `EXTRACT(SECOND FROM date)`. 
Returns an integer between 0 and 59.
 | TIMESTAMPADD(timeUnit, integer, datetime) | Returns *datetime* with an 
interval of (signed) *integer* *timeUnit*s added. Equivalent to `datetime + 
INTERVAL 'integer' timeUnit`
 | TIMESTAMPDIFF(timeUnit, datetime, datetime2) | Returns the (signed) number 
of *timeUnit* intervals between *datetime* and *datetime2*. Equivalent to 
`(datetime2 - datetime) timeUnit`
+| LAST_DAY(date)            | Returns the date of the last day of the month in 
a value of datatype DATE
 
 Review comment:
   Will do.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to