diff options
author | wangfei <wangfei1@huawei.com> | 2015-02-03 12:16:31 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-03 12:16:31 -0800 |
commit | 5adbb39482631998dbfe4a1da88f6e75b30fb5ac (patch) | |
tree | 851a86986f171d0164e0741fb667656a0fdf9c67 /python/pyspark/files.py | |
parent | ca7a6cdff004eb4605fd223e127b4a46a0a214e7 (diff) | |
download | spark-5adbb39482631998dbfe4a1da88f6e75b30fb5ac.tar.gz spark-5adbb39482631998dbfe4a1da88f6e75b30fb5ac.tar.bz2 spark-5adbb39482631998dbfe4a1da88f6e75b30fb5ac.zip |
[SPARK-5383][SQL] Support alias for udtfs
Add support for alias of udtfs, such as
```
select stack(2, key, value, key, value) as (a, b) from src limit 5;
select a, b from (select stack(2, key, value, key, value) as (a, b) from src) t limit 5
```
Author: wangfei <wangfei1@huawei.com>
Author: scwf <wangfei1@huawei.com>
Author: Fei Wang <wangfei1@huawei.com>
Closes #4186 from scwf/multi-alias-names and squashes the following commits:
c35e922 [wangfei] fix conflicts
adc8311 [wangfei] minor format fix
2783aed [wangfei] convert it to a Generate instead of leaving it inside of a Project clause
a87668a [wangfei] minor improvement
b25d9b3 [wangfei] resolve conflicts
d38f041 [wangfei] style fix
8cfcebf [wangfei] minor improvement
12a239e [wangfei] fix test case
050177f [wangfei] added extendedCheckRules
3d69329 [wangfei] added CheckMultiAlias to analyzer
324150d [wangfei] added multi alias node
74f5a81 [Fei Wang] imports order fix
5bc3f59 [scwf] style fix
3daec28 [scwf] support alias for udfs with multi output columns
Diffstat (limited to 'python/pyspark/files.py')
0 files changed, 0 insertions, 0 deletions