spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangfei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-5383) support alias for udfs with multi output columns
Date Sat, 24 Jan 2015 12:51:34 GMT

     [ https://issues.apache.org/jira/browse/SPARK-5383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

wangfei updated SPARK-5383:
---------------------------
    Description: 
when a udf output multi columns, now we can not use alias for them in spark-sql, see this
flowing sql:

select stack(1, key, value, key, value) as (a, b, c, d) from src limit 5;


  was:
now spark sql does not support multi alias names, The following sql failed in spark-sql:
"select key as (k1, k2), value as (v1, v2) from src limit 5"



> support alias for udfs with multi output columns
> ------------------------------------------------
>
>                 Key: SPARK-5383
>                 URL: https://issues.apache.org/jira/browse/SPARK-5383
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: wangfei
>
> when a udf output multi columns, now we can not use alias for them in spark-sql, see
this flowing sql:
> select stack(1, key, value, key, value) as (a, b, c, d) from src limit 5;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message