Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3813

Support "case when" conditional functions in Spark SQL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • SQL
    • None

    Description

      The SQL queries which has following conditional functions are not supported in Spark SQL.

      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
      

      The same functions can work in Spark HiveQL.

      Attachments

        Issue Links

          Activity

            People

              ravi.pesala Ravindra Pesala
              ravipesala Ravindra Pesala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: