GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/21361
[SPARK-24313][SQL] Fix array_contains interpreted evaluation for complex
types
## What changes were proposed in this pull request?
The interpreted evaluation of `array_contains` works only for simple
datatypes. For complex data types it returns always `false`.
The PR fixes the behavior for all the datatypes.
## How was this patch tested?
added UT
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-24313
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21361.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21361
----
commit 35370cd32e0fbb0cd777865a575960cdb9d80cd5
Author: Marco Gaido <marcogaido91@...>
Date: 2018-05-18T09:17:12Z
[SPARK-24313][SQL] Fix array_contains interpreted evaluation for complex
types
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]