[
https://issues.apache.org/jira/browse/HIVE-20646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631712#comment-16631712
]
ASF GitHub Bot commented on HIVE-20646:
---------------------------------------
GitHub user sankarh opened a pull request:
https://github.com/apache/hive/pull/441
HIVE-20646: Partition filter condition is not pushed down to metastore
query if it has IS NOT NULL.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sankarh/hive HIVE-20646
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/441.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #441
----
commit 5269fdb9b081d100c3d183495f8bfce824e2805a
Author: Sankar Hariappan <mailtosankarh@...>
Date: 2018-09-28T11:05:53Z
HIVE-20646: Partition filter condition is not pushed down to metastore
query if it has IS NOT NULL.
----
> Partition filter condition is not pushed down to metastore query if it has IS
> NOT NULL.
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-20646
> URL: https://issues.apache.org/jira/browse/HIVE-20646
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2, Standalone Metastore
> Affects Versions: 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Major
> Labels: Metastore, Performance, pull-request-available
> Attachments: HIVE-20646.01.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)