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

Add ARRAY_CONTAINS for Spark dialect

    XMLWordPrintableJSON

Details

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

    Description

      ARRAY_CONTAINS - Returns true if the array contains the value

      For more details
      https://spark.apache.org/docs/latest/sql-ref-functions-builtin.html

      // code placeholder
      
      spark: array_contains(array[1, null], null) -> null
      flink: array_contains(array[1, null], null) -> true 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: