[ 
https://issues.apache.org/jira/browse/SPARK-28052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Takuya Ueshin updated SPARK-28052:
----------------------------------
    Description: 
Currently {{ArrayExists}} always returns boolean values (if the arguments are 
not null), but it should follow the three-valued boolean logic:
 - {{true}} if the predicate holds at least one {{true}}
 - otherwise, {{null}} if the predicate holds {{null}}
 - otherwise, {{false}}

  was:
Currently {{ArrayExists}} always returns boolean values (if the arguments are 
not null), but it should follow the three-valued boolean logic:
 - {{true}} if the predicate holds at least {{true}}
 - otherwise, {{null}} if the predicate holds {{null}}
 - otherwise, {{false}}


> ArrayExists should follow the three-valued boolean logic.
> ---------------------------------------------------------
>
>                 Key: SPARK-28052
>                 URL: https://issues.apache.org/jira/browse/SPARK-28052
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: Takuya Ueshin
>            Priority: Major
>
> Currently {{ArrayExists}} always returns boolean values (if the arguments are 
> not null), but it should follow the three-valued boolean logic:
>  - {{true}} if the predicate holds at least one {{true}}
>  - otherwise, {{null}} if the predicate holds {{null}}
>  - otherwise, {{false}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to