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

Fix NPEs in HiveMetastore.dropPartition method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • Metastore
    • None

    Description

      The TestDropPartitions tests revealed that NPE is thrown if the dropPartition(String db_name, String tbl_name, List<String> part_vals, PartitionDropOptions options) method is called with null options and with a part_vals list which contains null elements.

      Example: NPE is thrown in the following test cases

      • testDropPartitionNullPartDropOptions
      • testDropPartitionNullVal

      Attachments

        1. HIVE-18898.1.patch
          4 kB
          Marta Kuczora
        2. HIVE-18898.2.patch
          5 kB
          Marta Kuczora

        Issue Links

          Activity

            People

              kuczoram Marta Kuczora
              kuczoram Marta Kuczora
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: