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

Nested Coalesce giving incorrect results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0-alpha-1
    • CBO
    • None

    Description

      Below query is returning NULL instead of 'TEST' 

      select coalesce(coalesce(null), 'TEST');

      INFO  : OK
      
      +-------+
      
      |  _c0  |
      
      +-------+
      
      | NULL  |
      
      +-------+
      
      

      Attachments

        1. HIVE-20406.1.patch
          4 kB
          Vineet Garg
        2. HIVE-20406.2.patch
          4 kB
          Vineet Garg

        Activity

          People

            vgarg Vineet Garg
            rtrivedi12 Riju Trivedi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: