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

Fix caught NullPointerExceptions generated during EXPLAIN

    XMLWordPrintableJSON

Details

    Description

      While debugging an issue I noticed that during EXPLAIN the following methods throw a NullPointerException:
      VectorColumnOutputMapping#finalize
      AbstractOperatorDesc#getUserLevelStatistics
      AbstractOperatorDesc#getColumnExprMapForExplain

      The exceptions do end up getting caught but we should add null checks and gracefully to be less wasteful and to aid future debugging.

       

      Attachments

        1. HIVE-22252.1.patch
          2 kB
          John Sherman
        2. HIVE-22252.2.patch
          2 kB
          John Sherman
        3. HIVE-22252.3.patch
          2 kB
          John Sherman
        4. HIVE-22252.4.patch
          2 kB
          John Sherman

        Issue Links

          Activity

            People

              jfs John Sherman
              jfs John Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m