hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20646) Partition filter condition is not pushed down to metastore query if it has IS NOT NULL.
Date Mon, 01 Oct 2018 16:02:01 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634241#comment-16634241
] 

Daniel Dai commented on HIVE-20646:
-----------------------------------

LGTM, +1.

> 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, HIVE-20646.02.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)

Mime
View raw message