Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3299

Create UDF DAYNAME(date)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.9.0
    • None
    • UDF

    Description

      dayname(date/timestamp/string)

      Returns the name of the weekday for date. The language used for the name is English.

      select dayname('2015-04-08');
      Wednesday

      Attachments

        1. Hive-3299_Testcase.doc
          26 kB
          Namitha Babychan
        2. HIVE-3299.1.patch.txt
          14 kB
          Namitha Babychan
        3. HIVE-3299.2.patch
          18 kB
          Alexander Pivovarov
        4. HIVE-3299.3.patch
          18 kB
          Alexander Pivovarov
        5. HIVE-3299.4.patch
          18 kB
          Alexander Pivovarov
        6. HIVE-3299.5.patch
          18 kB
          Alexander Pivovarov
        7. HIVE-3299.patch.txt
          11 kB
          Ann Dominic
        8. udf_dayname.q
          0.6 kB
          Namitha Babychan
        9. udf_dayname.q.out
          4 kB
          Namitha Babychan

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              medicaux Namitha Babychan
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: