spark-instrumented-optimizer/sql/core/src
Liang-Chi Hsieh 03e82e3689 [SPARK-25040][SQL] Empty string for non string types should be disallowed
## What changes were proposed in this pull request?

This takes over original PR at #22019. The original proposal is to have null for float and double types. Later a more reasonable proposal is to disallow empty strings. This patch adds logic to throw exception when finding empty strings for non string types.

## How was this patch tested?

Added test.

Closes #22787 from viirya/SPARK-25040.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: hyukjinkwon <gurwls223@apache.org>
2018-10-23 13:43:53 +08:00
..
main [SPARK-25747][SQL] remove ColumnarBatchScan.needsUnsafeRowConversion 2018-10-20 17:45:04 -07:00
test [SPARK-25040][SQL] Empty string for non string types should be disallowed 2018-10-23 13:43:53 +08:00