diff options
author | Reynold Xin <rxin@databricks.com> | 2015-06-30 23:04:54 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-06-30 23:04:54 -0700 |
commit | 365c14055e90db5ea4b25afec03022be81c8a704 (patch) | |
tree | 2524baa166530f9cc73729ef06e529d9e5bf8e87 /launcher/src | |
parent | 64c14618d3f4ede042bd3f6a542bc17a730afb0e (diff) | |
download | spark-365c14055e90db5ea4b25afec03022be81c8a704.tar.gz spark-365c14055e90db5ea4b25afec03022be81c8a704.tar.bz2 spark-365c14055e90db5ea4b25afec03022be81c8a704.zip |
[SPARK-8748][SQL] Move castability test out from Cast case class into Cast object.
This patch moved resolve function in Cast case class into the companion object, and renamed it canCast. We can then use this in the analyzer without a Cast expr.
Author: Reynold Xin <rxin@databricks.com>
Closes #7145 from rxin/cast and squashes the following commits:
cd086a9 [Reynold Xin] Whitespace changes.
4d2d989 [Reynold Xin] [SPARK-8748][SQL] Move castability test out from Cast case class into Cast object.
Diffstat (limited to 'launcher/src')
0 files changed, 0 insertions, 0 deletions