[
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: [email protected]
For additional commands, e-mail: [email protected]