spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scwf <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-5383][SQL] Multi alias names support
Date Sat, 24 Jan 2015 09:52:25 GMT
Github user scwf commented on the pull request:

    https://github.com/apache/spark/pull/4182#issuecomment-71308134
  
    @rxin,  for the example `select key as (k1, k2) from src limit 5`
      k1 and k2 both are alias for `key`. And i tested with hive and HiveQL supported this,
here is test case in hive:
    
    ```
    select stack(2, *) as (e1,e2,e3) from (
      select concat(*), concat(a.*), concat(b.*), concat(a.*, b.key), concat(a.key, b.*)
      from src a join src b on a.key+1=b.key where a.key < 100) x limit 10;
    
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message