diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-07-14 15:48:22 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2016-07-14 15:48:22 +0800 |
commit | db7317ac3c2fd2a11088d10060f168178dc99664 (patch) | |
tree | 016edf4914d49f9563cbc800230ca2f144903e6f /.gitattributes | |
parent | 39c836e976fcae51568bed5ebab28e148383b5d4 (diff) | |
download | spark-db7317ac3c2fd2a11088d10060f168178dc99664.tar.gz spark-db7317ac3c2fd2a11088d10060f168178dc99664.tar.bz2 spark-db7317ac3c2fd2a11088d10060f168178dc99664.zip |
[SPARK-16448] RemoveAliasOnlyProject should not remove alias with metadata
## What changes were proposed in this pull request?
`Alias` with metadata is not a no-op and we should not strip it in `RemoveAliasOnlyProject` rule.
This PR also did some improvement for this rule:
1. extend the semantic of `alias-only`. Now we allow the project list to be partially aliased.
2. add unit test for this rule.
## How was this patch tested?
new `RemoveAliasOnlyProjectSuite`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #14106 from cloud-fan/bug.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions