You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tarek Auel (JIRA)" <ji...@apache.org> on 2015/06/29 20:25:05 UTC

[jira] [Commented] (SPARK-8668) expr function to convert SQL expression into a Column

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

Tarek Auel commented on SPARK-8668:
-----------------------------------

Hi,

just to get it right:

selectExpr of the dataframe api takes at the moment varargs as arguments. This should be enhanced in order to parse ONE string argument that contains multiple expressions, shouldn't it? Or do I get it wrong?

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org