diff options
author | Yijie Shen <henry.yijieshen@gmail.com> | 2015-08-03 00:15:24 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-08-03 00:15:24 -0700 |
commit | 98d6d9c7a996f5456eb2653bb96985a1a05f4ce1 (patch) | |
tree | f773995dce2ae3ce065b05a0976fa2c98b732e43 /core | |
parent | 608353c8e8e50461fafff91a2c885dca8af3aaa8 (diff) | |
download | spark-98d6d9c7a996f5456eb2653bb96985a1a05f4ce1.tar.gz spark-98d6d9c7a996f5456eb2653bb96985a1a05f4ce1.tar.bz2 spark-98d6d9c7a996f5456eb2653bb96985a1a05f4ce1.zip |
[SPARK-9549][SQL] fix bugs in expressions
JIRA: https://issues.apache.org/jira/browse/SPARK-9549
This PR fix the following bugs:
1. `UnaryMinus`'s codegen version would fail to compile when the input is `Long.MinValue`
2. `BinaryComparison` would fail to compile in codegen mode when comparing Boolean types.
3. `AddMonth` would fail if passed a huge negative month, which would lead accessing negative index of `monthDays` array.
4. `Nanvl` with different type operands.
Author: Yijie Shen <henry.yijieshen@gmail.com>
Closes #7882 from yjshen/minor_bug_fix and squashes the following commits:
41bbd2c [Yijie Shen] fix bug in Nanvl type coercion
3dee204 [Yijie Shen] address comments
4fa5de0 [Yijie Shen] fix bugs in expressions
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions