You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Forward Xu (JIRA)" <ji...@apache.org> on 2019/06/16 04:41:00 UTC

[jira] [Comment Edited] (CALCITE-2995) Add the DAYNAME,MONTHNAME function

    [ https://issues.apache.org/jira/browse/CALCITE-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862780#comment-16862780 ] 

Forward Xu edited comment on CALCITE-2995 at 6/16/19 4:40 AM:
--------------------------------------------------------------

hi [~julianhyde] well ,Thank you very much,You made me learn a lot.I have no other opinions, , I approve it, you can merge it.


was (Author: x1q1j1):
hi [~julianhyde] well ,Thank you very much,You made me learn a lot.I have no other opinions, you can merge it.

> Add the DAYNAME,MONTHNAME function
> ----------------------------------
>
>                 Key: CALCITE-2995
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2995
>             Project: Calcite
>          Issue Type: New Feature
>            Reporter: Forward Xu
>            Assignee: Forward Xu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> SELECT MONTHNAME('2018-01-01') monthname;{code}
> 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:
> {code:java}
> SELECT DAYNAME('2018-01-01') dayname;{code}
> Result:
> ||dayname||
> |Monday|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)