Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-164

Support CASE statement using GenericUDF

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • Query Processor
    • None
    • Reviewed

    Description

      See http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html for details.

      Syntax:

      CASE value WHEN [compare_value] THEN result [WHEN [compare_value] THEN result ...] [<ELSE result] END
      CASE WHEN [condition] THEN result [WHEN [condition] THEN result ...] [ELSE result] END 
      

      Attachments

        1. HIVE-164.8.patch
          219 kB
          Zheng Shao
        2. HIVE-164.7.patch
          199 kB
          Zheng Shao
        3. HIVE-164.7.code-only.patch
          119 kB
          Zheng Shao
        4. HIVE-164.6.patch
          206 kB
          Zheng Shao
        5. HIVE-164.6.code-only.patch
          122 kB
          Zheng Shao
        6. HIVE-164.5.patch
          201 kB
          Zheng Shao
        7. HIVE-164.4.patch
          189 kB
          Zheng Shao

        Issue Links

          Activity

            People

              zshao Zheng Shao
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: