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

create timediff UDF

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UDF
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: