diff options
author | Zhenhua Wang <wzh_zju@163.com> | 2016-09-22 14:48:49 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-09-22 14:48:49 +0800 |
commit | de7df7defc99e04fefd990974151a701f64b75b4 (patch) | |
tree | 86bfbd8a9c2cb94a025b481da031d6135834feb6 /python/pyspark/context.py | |
parent | 3a80f92f8f4b91d0a85724bca7d81c6f5bbb78fd (diff) | |
download | spark-de7df7defc99e04fefd990974151a701f64b75b4.tar.gz spark-de7df7defc99e04fefd990974151a701f64b75b4.tar.bz2 spark-de7df7defc99e04fefd990974151a701f64b75b4.zip |
[SPARK-17625][SQL] set expectedOutputAttributes when converting SimpleCatalogRelation to LogicalRelation
## What changes were proposed in this pull request?
We should set expectedOutputAttributes when converting SimpleCatalogRelation to LogicalRelation, otherwise the outputs of LogicalRelation are different from outputs of SimpleCatalogRelation - they have different exprId's.
## How was this patch tested?
add a test case
Author: Zhenhua Wang <wzh_zju@163.com>
Closes #15182 from wzhfy/expectedAttributes.
Diffstat (limited to 'python/pyspark/context.py')
0 files changed, 0 insertions, 0 deletions