[ 
https://issues.apache.org/jira/browse/SPARK-8668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606073#comment-14606073
 ] 

Reynold Xin commented on SPARK-8668:
------------------------------------

This is not about selectExpr, but adding a new "expr" function that takes in a 
single string, and returns an expression.

Once we do that, we can have "expr" and "selectExpr" support taking in one 
string, and returning multiple expressions (wrapped in a wrapper expression 
that the analyzer can expand).


> expr function to convert SQL expression into a Column
> -----------------------------------------------------
>
>                 Key: SPARK-8668
>                 URL: https://issues.apache.org/jira/browse/SPARK-8668
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>
> selectExpr uses the expression parser to parse a string expressions. would be 
> great to create an "expr" function in functions.scala/functions.py that 
> converts a string into an expression (or a list of expressions separated by 
> comma).



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to