You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2014/10/06 14:25:33 UTC

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

Ravindra Pesala created SPARK-3813:
--------------------------------------

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