aboutsummaryrefslogtreecommitdiff
path: root/mllib/src
diff options
context:
space:
mode:
authorpetermaxlee <petermaxlee@gmail.com>2016-07-27 16:04:43 +0800
committerWenchen Fan <wenchen@databricks.com>2016-07-27 16:04:43 +0800
commitef0ccbcb07252db0ead8509e70d1a9a670d41616 (patch)
treead6140f7ec5c17ab8c2316a2d7425253aaff3fcf /mllib/src
parent5b8e848bbfbc0c99a5faf758e40b188b0bbebb7b (diff)
downloadspark-ef0ccbcb07252db0ead8509e70d1a9a670d41616.tar.gz
spark-ef0ccbcb07252db0ead8509e70d1a9a670d41616.tar.bz2
spark-ef0ccbcb07252db0ead8509e70d1a9a670d41616.zip
[SPARK-16729][SQL] Throw analysis exception for invalid date casts
## What changes were proposed in this pull request? Spark currently throws exceptions for invalid casts for all other data types except date type. Somehow date type returns null. It should be consistent and throws analysis exception as well. ## How was this patch tested? Added a unit test case in CastSuite. Author: petermaxlee <petermaxlee@gmail.com> Closes #14358 from petermaxlee/SPARK-16729.
Diffstat (limited to 'mllib/src')
0 files changed, 0 insertions, 0 deletions