spark-instrumented-optimizer/sql/catalyst/src/test
Takeshi Yamamuro 92706e6576
[SPARK-26747][SQL] Makes GetMapValue nullability more precise
## What changes were proposed in this pull request?
In master, `GetMapValue` nullable is always true;
cf133e6110/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala (L371)

But, If input key is foldable, we could make its nullability more precise.
This fix is the same with SPARK-26637(#23566).

## How was this patch tested?
Added tests in `ComplexTypeSuite`.

Closes #23669 from maropu/SPARK-26747.

Authored-by: Takeshi Yamamuro <yamamuro@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
2019-01-28 13:39:50 -08:00
..
java/org/apache/spark/sql [SPARK-26698][CORE] Use ConfigEntry for hardcoded configs for memory and storage categories 2019-01-25 22:28:12 -06:00
resources
scala/org/apache/spark/sql [SPARK-26747][SQL] Makes GetMapValue nullability more precise 2019-01-28 13:39:50 -08:00