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

Create NEXT_DAY UDF

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      NEXT_DAY returns the date of the first weekday named by char that is later than the date date

      Example:

      select next_day('2001-02-02','TUESDAY') ...;
      OK
      2001-02-06
      

      Attachments

        1. HIVE-9520.1.patch
          26 kB
          Alexander Pivovarov
        2. HIVE-9520.2.patch
          27 kB
          Alexander Pivovarov
        3. HIVE-9520.3.patch
          27 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: