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

Partition filter condition is not pushed down to metastore query if it has IS NOT NULL.

    XMLWordPrintableJSON

Details

    Description

      If the partition filter condition has "is not null" then the filter query isn't getting pushed to the SQL query in RDMBS.
      This slows down metastore api calls for getting list of partitions with filter condition.

      This condition gets added by optimizer in many cases so this is affecting many queries.

      Attachments

        1. HIVE-20646.03.patch
          17 kB
          Sankar Hariappan
        2. HIVE-20646.02.patch
          17 kB
          Sankar Hariappan
        3. HIVE-20646.01.patch
          17 kB
          Sankar Hariappan

        Issue Links

          Activity

            People

              sankarh Sankar Hariappan
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: