spark-instrumented-optimizer/sql/core/src
岑玉海 fe767395ff [SPARK-17429][SQL] use ImplicitCastInputTypes with function Length
## What changes were proposed in this pull request?
select length(11);
select length(2.0);
these sql will return errors, but hive is ok.
this PR will support casting input types implicitly for function length
the correct result is:
select length(11) return 2
select length(2.0) return 3

Author: 岑玉海 <261810726@qq.com>
Author: cenyuhai <cenyuhai@didichuxing.com>

Closes #15014 from cenyuhai/SPARK-17429.
2016-09-15 20:45:00 +02:00
..
main [SPARK-17536][SQL] Minor performance improvement to JDBC batch inserts 2016-09-15 10:00:28 +01:00
test [SPARK-17429][SQL] use ImplicitCastInputTypes with function Length 2016-09-15 20:45:00 +02:00