Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5704

Add ARRAY_EXCEPT, ARRAY_INTERSECT and ARRAY_UNION for Spark dialect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.35.0
    • 1.35.0
    • core

    Description

      array_union(array1, array2) - Returns an array of the elements in the union of array1 and array2, without duplicates.

      array_intersect(array1, array2) - Returns an array of the elements in the intersection of array1 and array2, without duplicates.

      array_except(array1, array2) - Returns an array of the elements in array1 but not in array2, without duplicates.

      For more details
      https://spark.apache.org/docs/latest/api/sql/index.html

      Attachments

        Issue Links

          Activity

            People

              jackylau Jacky Lau
              jackylau Jacky Lau
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: