hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (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 Sat, 29 Sep 2018 07:29:00 GMT

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

Hive QA commented on HIVE-20646:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12941676/HIVE-20646.01.patch

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 15007 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_deterministic_expr] (batchId=19)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_dynamic_partition_pruning]
(batchId=188)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_vectorized_dynamic_partition_pruning]
(batchId=188)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14117/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14117/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14117/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12941676 - PreCommit-HIVE-Build

> 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)

Mime
View raw message