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

deprecate unix_timestamp(void) and make it deterministic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • None

    Description

      We have a proper current_timestamp function that is not evaluated at runtime.
      Behavior of unix_timestamp(void) is both surprising, and is preventing some optimizations on the other overload since the function becomes non-deterministic.

      Attachments

        1. HIVE-10728.patch
          2 kB
          Sergey Shelukhin
        2. HIVE-10728.01.patch
          11 kB
          Sergey Shelukhin
        3. HIVE-10728.02.patch
          16 kB
          Sergey Shelukhin
        4. HIVE-10728.03.patch
          16 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: