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

Support IF(test, valueTrue, valueFalseOrNull)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      HIVE-258. New UDF IF(test, valueTrue, valueFalseOrNull). (zshao)

      Description

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

      Syntax:

      IF(expr1,expr2,expr3)
      

        Attachments

        1. HIVE-258.2.patch
          36 kB
          Zheng Shao

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: