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

udf to_epoch_milli need to support timestamp without time zone as well

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently the following query will fail with a cast exception (tries to cast timestamp to timestamp with local timezone).

       select to_epoch_milli(current_timestamp)
      

      As a simple fix we need to add support for timestamp object inspector.

      Attachments

        1. HIVE-20813.patch
          4 kB
          Slim Bouguerra
        2. HIVE-20813.patch
          4 kB
          Slim Bouguerra
        3. HIVE-20813.patch
          4 kB
          Slim Bouguerra
        4. HIVE-20813.patch
          4 kB
          Slim Bouguerra

        Activity

          People

            bslim Slim Bouguerra
            bslim Slim Bouguerra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: