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

support nullif

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 2.3.0
    • None
    • None

    Description

      Have to express case expression to work around lack of NULLIF

      select nullif(cint, 1) from tint

      select cint, case when cint = 1 then null else cint end from tint

      Attachments

        1. HIVE-5469.3.patch.txt
          10 kB
          Navis Ryu
        2. HIVE-5469.2.patch.txt
          9 kB
          Navis Ryu
        3. HIVE-5469.1.patch.txt
          9 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              the6campbells N Campbell
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: