XuQianJin-Stars opened a new pull request #1163: [CALCITE-2995] Implement the 
DAYNAME,MONTHNAME function
URL: https://github.com/apache/calcite/pull/1163
 
 
   `MONTHNAME(date)`
    Returns the full name of the month for date. The language used for the name 
is controlled by the system time config.
   
   SQL:
   
   ```
   SELECT MONTHNAME('2018-01-01') monthname;
   ```
   
   Result:
   
   | monthname |
   | --------- |
   | January   |
   
   `DAYNAME(date)`
    Returns the name of the weekday for date. The language used for the name is 
controlled by the system time config.
   
   SQL:
   
   ```
   SELECT DAYNAME('2018-01-01') dayname;
   ```
   
   Result:
   
   | dayname |
   | ------- |
   | Monday  |
   
   

----------------------------------------------------------------
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