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

create timediff UDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • UDF
    • None

    Description

      MySQL has very useful function timediff. We should have it in Hive

      select timediff('2015-02-12 05:09:07.140', '2015-02-12 01:18:20');
      OK
      03:50:47.140
      

      Attachments

        1. HIVE-9678.1.patch
          47 kB
          Alexander Pivovarov
        2. HIVE-9678.2.patch
          48 kB
          Alexander Pivovarov
        3. HIVE-9678.3.patch
          39 kB
          Alexander Pivovarov
        4. HIVE-9678.4.patch
          47 kB
          Alexander Pivovarov
        5. HIVE-9678.4.patch
          47 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: