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

support a simple scalar which returns the current timestamp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 1.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: