You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/10/10 00:15:35 UTC

[jira] [Resolved] (SPARK-3813) Support "case when" conditional functions in Spark SQL

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

Michael Armbrust resolved SPARK-3813.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 2678
[https://github.com/apache/spark/pull/2678]

> Support "case when" conditional functions in Spark SQL
> ------------------------------------------------------
>
>                 Key: SPARK-3813
>                 URL: https://issues.apache.org/jira/browse/SPARK-3813
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Ravindra Pesala
>             Fix For: 1.2.0
>
>
> The SQL queries which has following conditional functions are not supported in Spark SQL.
> {code}
> CASE a WHEN b THEN c [WHEN d THEN e]* [ELSE f] END
> CASE WHEN a THEN b [WHEN c THEN d]* [ELSE e] END
> {code}
> The same functions can work in Spark HiveQL.



--
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