XMLWordPrintableJSON

Details

    Description

      1. SELECT array(1,2,3),array_intersect(array(1, 2, 3),array(1,3,4)); gives wrong output

      [1,3] [1,3]

      instead of 

      [1,2,3][1,3]

      2.  SELECT array_intersect(array(),array()); should give empty array instead of NULL

      3.  Error handling when elements of array are not comparable

      These fixes were already present on array_except udf whose implementation is identical to array_intersect, Ref: https://github.com/apache/hive/pull/4090

       

      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: