You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dan McClary (JIRA)" <ji...@apache.org> on 2015/07/17 23:12: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=14631909#comment-14631909 ] 

Dan McClary commented on SPARK-8668:
------------------------------------

So, if I understand, this would parse a string -- the same way selectExpr does -- and return a list of expressions?

> 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