https://github.com/apache/spark
Revision e96ba8430c693c3bcc9f6797a4779c8e9fadaaba authored by Takuya UESHIN on 29 November 2018, 14:37:02 UTC, committed by Wenchen Fan on 29 November 2018, 14:41:51 UTC
Currently `InSet` doesn't work properly for binary type, or struct and array type with null value in the set.
Because, as for binary type, the `HashSet` doesn't work properly for `Array[Byte]`, and as for struct and array type with null value in the set, the `ordering` will throw a `NPE`.

Added a few tests.

Closes #23176 from ueshin/issues/SPARK-26211/inset.

Authored-by: Takuya UESHIN <ueshin@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit b9b68a6dc7d0f735163e980392ea957f2d589923)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent 96a5a12
History
Tip revision: e96ba8430c693c3bcc9f6797a4779c8e9fadaaba authored by Takuya UESHIN on 29 November 2018, 14:37:02 UTC
[SPARK-26211][SQL] Fix InSet for binary, and struct and array with null.
Tip revision: e96ba84

README.md

back to top