Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1921

Add DAY as Reserved Function Name, And add day() build-in scalar function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      I want add `DAY()` as build-in scalar function in calcite. It's looks like as following:

      DAY('2015-04-30 01:01:01.1234567') -> 30
      DAYOFMONTH('2007-02-03') -> 3

      What do you think julianhyde ?

      Attachments

        Activity

          People

            sunjincheng121 sunjincheng
            sunjincheng121 sunjincheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: