diff options
author | Takuya UESHIN <ueshin@happy-camper.st> | 2014-11-14 14:21:16 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-11-14 14:21:32 -0800 |
commit | 4bdeeb7d25453b9b50c7dc23a5c7f588754f0e52 (patch) | |
tree | cd7a2af92df0010949bb35565356f946d2de1e6d /docs/api.md | |
parent | 51b053a314c121463161b5fa99d37020a4816a1e (diff) | |
download | spark-4bdeeb7d25453b9b50c7dc23a5c7f588754f0e52.tar.gz spark-4bdeeb7d25453b9b50c7dc23a5c7f588754f0e52.tar.bz2 spark-4bdeeb7d25453b9b50c7dc23a5c7f588754f0e52.zip |
[SPARK-4245][SQL] Fix containsNull of the result ArrayType of CreateArray expression.
The `containsNull` of the result `ArrayType` of `CreateArray` should be `true` only if the children is empty or there exists nullable child.
Author: Takuya UESHIN <ueshin@happy-camper.st>
Closes #3110 from ueshin/issues/SPARK-4245 and squashes the following commits:
6f64746 [Takuya UESHIN] Move equalsIgnoreNullability method into DataType.
5a90e02 [Takuya UESHIN] Refine InsertIntoHiveType and add some comments.
cbecba8 [Takuya UESHIN] Fix a test title.
884ec37 [Takuya UESHIN] Merge branch 'master' into issues/SPARK-4245
3c5274b [Takuya UESHIN] Add tests to insert data of types ArrayType / MapType / StructType with nullability is false into Hive table.
41a94a9 [Takuya UESHIN] Replace InsertIntoTable with InsertIntoHiveTable if data types ignoring nullability are same.
43e6ef5 [Takuya UESHIN] Fix containsNull for empty array.
778e997 [Takuya UESHIN] Fix containsNull of the result ArrayType of CreateArray expression.
(cherry picked from commit bbd8f5bee81d5788c356977c173dd1edc42c77a3)
Signed-off-by: Michael Armbrust <michael@databricks.com>
Diffstat (limited to 'docs/api.md')
0 files changed, 0 insertions, 0 deletions