Revision 770fd2a239798d3fa1cb4223d73cfc57413c0bb8 authored by Takuya UESHIN on 05 July 2017, 03:24:38 UTC, committed by Wenchen Fan on 05 July 2017, 03:24:55 UTC
## What changes were proposed in this pull request?

`ExternalMapToCatalyst` should null-check map key prior to converting to internal value to throw an appropriate Exception instead of something like NPE.

## How was this patch tested?

Added a test and existing tests.

Author: Takuya UESHIN <ueshin@databricks.com>

Closes #18524 from ueshin/issues/SPARK-21300.

(cherry picked from commit ce10545d3401c555e56a214b7c2f334274803660)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent db21b67
History
File Mode Size
docs
lib
pyspark
test_support
.gitignore -rw-r--r-- 49 bytes
MANIFEST.in -rw-r--r-- 1.0 KB
README.md -rw-r--r-- 1.8 KB
pylintrc -rw-r--r-- 13.7 KB
run-tests -rwxr-xr-x 899 bytes
run-tests.py -rwxr-xr-x 8.3 KB
setup.cfg -rw-r--r-- 854 bytes
setup.py -rw-r--r-- 9.4 KB

README.md

back to top