spark-instrumented-optimizer/sql/catalyst/src/main
Yuming Wang 7a5fd4a91e [SPARK-18874][SQL][FOLLOW-UP] Improvement type mismatched message
## What changes were proposed in this pull request?
Improvement `IN` predicate type mismatched message:
```sql
Mismatched columns:
[(, t, 4, ., `, t, 4, a, `, :, d, o, u, b, l, e, ,,  , t, 5, ., `, t, 5, a, `, :, d, e, c, i, m, a, l, (, 1, 8, ,, 0, ), ), (, t, 4, ., `, t, 4, c, `, :, s, t, r, i, n, g, ,,  , t, 5, ., `, t, 5, c, `, :, b, i, g, i, n, t, )]
```
After this patch:
```sql
Mismatched columns:
[(t4.`t4a`:double, t5.`t5a`:decimal(18,0)), (t4.`t4c`:string, t5.`t5c`:bigint)]
```

## How was this patch tested?

unit tests

Author: Yuming Wang <yumwang@ebay.com>

Closes #21863 from wangyum/SPARK-18874.
2018-07-24 23:59:13 -07:00
..
antlr4/org/apache/spark/sql/catalyst/parser [SPARK-24424][SQL] Support ANSI-SQL compliant syntax for GROUPING SET 2018-07-19 23:52:53 -07:00
java/org/apache/spark/sql [SPARK-23901][SQL] Removing masking functions 2018-07-16 14:28:35 -07:00
scala/org/apache/spark/sql [SPARK-18874][SQL][FOLLOW-UP] Improvement type mismatched message 2018-07-24 23:59:13 -07:00