You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "angerszhu (Jira)" <ji...@apache.org> on 2020/11/04 04:01:00 UTC

[jira] [Created] (SPARK-33335) Support array_contains_array func

angerszhu created SPARK-33335:
---------------------------------

             Summary: Support array_contains_array func
                 Key: SPARK-33335
                 URL: https://issues.apache.org/jira/browse/SPARK-33335
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: angerszhu


Postgres SQL support  judge if array1 contains array2, 

 
{code:java}
@>  contains    ARRAY[1,4,3] @> ARRAY[3,1]    t
{code}
 

[https://www.postgresql.org/docs/9.1/functions-array.html]

 

Users in our production environment also meet this requirement too. we cans support this



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org