[jira] [Commented] (SPARK-28186) array_contains returns null instead of false when one of the items in the array is null

2019-07-01 Thread Alex Kushnir (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-28186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16876386#comment-16876386 ] Alex Kushnir commented on SPARK-28186: -- I'm porting HIVE workload to SPARK. It works in HIVE as

[jira] [Commented] (SPARK-28186) array_contains returns null instead of false when one of the items in the array is null

2019-07-01 Thread Alex Kushnir (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-28186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16876304#comment-16876304 ] Alex Kushnir commented on SPARK-28186: -- because array ["a","b",null,"c"] clearly does not contain

[jira] [Created] (SPARK-28186) array_contains returns null instead of false when one of the items in the array is null

2019-06-27 Thread Alex Kushnir (JIRA)
Alex Kushnir created SPARK-28186: Summary: array_contains returns null instead of false when one of the items in the array is null Key: SPARK-28186 URL: https://issues.apache.org/jira/browse/SPARK-28186

[jira] [Updated] (SPARK-28186) array_contains returns null instead of false when one of the items in the array is null

2019-06-27 Thread Alex Kushnir (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-28186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Kushnir updated SPARK-28186: - Description: If array of items contains a null item then array_contains returns true if item