Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • Hive

    Description

      1. array_max(array(obj1, obj2,...)) - The function returns the maximum value in an array with elements for which order is supported, returns null if array is empty

      Example:

      > SELECT array_max(array(1, 3, 0, NULL)) FROM src LIMIT 1;
      3

       

      2. array_min(array(obj1, obj2,...)) - The function returns the minimum value in an array with elements for which order is supported, returns null if array is empty
      Example:  

      > SELECT array_min(array(1, 3, 0, NULL)) FROM src LIMIT 1;
      0

       

      Attachments

        Issue Links

          Activity

            People

              tarak271 Taraka Rama Rao Lethavadla
              tarak271 Taraka Rama Rao Lethavadla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5.5h
                  5.5h