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

support a simple scalar which returns the current timestamp

    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.4.patch
          17 kB
          Jason Dere
        2. HIVE-5472.3.patch
          17 kB
          Jason Dere
        3. HIVE-5472.2.patch
          15 kB
          Jason Dere
        4. HIVE-5472.1.patch
          11 kB
          Jason Dere

          Issue Links

            Activity

              People

              • Assignee:
                jdere Jason Dere
                Reporter:
                the6campbells N Campbell
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: