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

Support CASE statement using GenericUDF

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      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.4.patch
          189 kB
          Zheng Shao
        2. HIVE-164.5.patch
          201 kB
          Zheng Shao
        3. HIVE-164.6.patch
          206 kB
          Zheng Shao
        4. HIVE-164.6.code-only.patch
          122 kB
          Zheng Shao
        5. HIVE-164.7.code-only.patch
          119 kB
          Zheng Shao
        6. HIVE-164.7.patch
          199 kB
          Zheng Shao
        7. HIVE-164.8.patch
          219 kB
          Zheng Shao

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: