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

support a simple scalar which returns the current timestamp

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      ISO-SQL has two forms of functions

      local and current timestamp where the former is a TIMESTAMP WITHOUT TIMEZONE and the latter with TIME ZONE

      select cast ( unix_timestamp() as timestamp ) from T

      implement a function which computes LOCAL TIMESTAMP which would be the current timestamp for the users session time zone.

        Attachments

        1. HIVE-5472.1.patch
          11 kB
          Jason Dere
        2. HIVE-5472.2.patch
          15 kB
          Jason Dere
        3. HIVE-5472.3.patch
          17 kB
          Jason Dere
        4. HIVE-5472.4.patch
          17 kB
          Jason Dere

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment