[ https://issues.apache.org/jira/browse/SPARK-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-5397: ----------------------------- Assignee: Michael Armbrust > Assigning aliases to several return values of an UDF > ---------------------------------------------------- > > Key: SPARK-5397 > URL: https://issues.apache.org/jira/browse/SPARK-5397 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Max > Assignee: Michael Armbrust > Fix For: 1.5.0 > > > The query with following syntax is no valid SQL in Spark due to the assigment > of multiple aliases. > So it seems not possible for me to port former HiveQL queries with UDFs > returning multiple values to Spark SQL. > Query > -------- > SELECT my_function(param_one, param_two) AS (return_one, return_two, > return_three) > FROM my_table; > Error > -------- > Unsupported language features in query: SELECT my_function(param_one, > param_two) AS (return_one, return_two, return_three) > FROM my_table; > TOK_QUERY > TOK_FROM > TOK_TABREF > TOK_TABNAME > my_table > TOK_SELECT > TOK_SELEXPR > TOK_FUNCTION > my_function > TOK_TABLE_OR_COL > param_one > TOK_TABLE_OR_COL > param_two > return_one > return_two > return_three -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org