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

deprecate unix_timestamp(void) and make it deterministic

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.03.patch
          16 kB
          Sergey Shelukhin
        3. HIVE-10728.02.patch
          16 kB
          Sergey Shelukhin
        4. HIVE-10728.01.patch
          11 kB
          Sergey Shelukhin

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment