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

fix NPE in WindowingTableFunction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      WindowingTableFunction line 1193

      // now
      return (s1 == null && s2 == null) || s1.equals(s2);
      
      // should be
      return (s1 == null && s2 == null) || (s1 != null && s1.equals(s2));
      

      Attachments

        1. HIVE-9953.1.patch
          0.7 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: