spark-instrumented-optimizer/sql/catalyst/src
Wenchen Fan a21791e316 [SPARK-18070][SQL] binary operator should not consider nullability when comparing input types
## What changes were proposed in this pull request?

Binary operator requires its inputs to be of same type, but it should not consider nullability, e.g. `EqualTo` should be able to compare an element-nullable array and an element-non-nullable array.

## How was this patch tested?

a regression test in `DataFrameSuite`

Author: Wenchen Fan <wenchen@databricks.com>

Closes #15606 from cloud-fan/type-bug.
2016-10-25 12:08:17 -07:00
..
main [SPARK-18070][SQL] binary operator should not consider nullability when comparing input types 2016-10-25 12:08:17 -07:00
test [SPARK-18058][SQL] Comparing column types ignoring Nullability in Union and SetOperation 2016-10-23 19:42:11 +02:00