diff options
author | Daoyuan Wang <daoyuan.wang@intel.com> | 2015-02-12 15:22:07 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-12 15:22:07 -0800 |
commit | d5fc51491808630d0328a5937dbf349e00de361f (patch) | |
tree | dea6b073f6d5eeb0a21e50bdf0a46ea87ed50c70 /ec2 | |
parent | ee04a8b19be8330bfc48f470ef365622162c915f (diff) | |
download | spark-d5fc51491808630d0328a5937dbf349e00de361f.tar.gz spark-d5fc51491808630d0328a5937dbf349e00de361f.tar.bz2 spark-d5fc51491808630d0328a5937dbf349e00de361f.zip |
[SPARK-5755] [SQL] remove unnecessary Add
explain extended select +key from src;
before:
== Parsed Logical Plan ==
'Project [(0 + 'key) AS _c0#8]
'UnresolvedRelation [src], None
== Analyzed Logical Plan ==
Project [(0 + key#10) AS _c0#8]
MetastoreRelation test, src, None
== Optimized Logical Plan ==
Project [(0 + key#10) AS _c0#8]
MetastoreRelation test, src, None
== Physical Plan ==
Project [(0 + key#10) AS _c0#8]
HiveTableScan [key#10], (MetastoreRelation test, src, None), None
after this patch:
== Parsed Logical Plan ==
'Project ['key]
'UnresolvedRelation [src], None
== Analyzed Logical Plan ==
Project [key#10]
MetastoreRelation test, src, None
== Optimized Logical Plan ==
Project [key#10]
MetastoreRelation test, src, None
== Physical Plan ==
HiveTableScan [key#10], (MetastoreRelation test, src, None), None
Author: Daoyuan Wang <daoyuan.wang@intel.com>
Closes #4551 from adrian-wang/positive and squashes the following commits:
0821ae4 [Daoyuan Wang] remove unnecessary Add
Diffstat (limited to 'ec2')
0 files changed, 0 insertions, 0 deletions