hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-21817) CBO: PartitionPruner cache-miss from Calcite planner
Date Wed, 03 Jul 2019 16:39:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-21817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesus Camacho Rodriguez resolved HIVE-21817.
--------------------------------------------
    Resolution: Not A Problem

> CBO: PartitionPruner cache-miss from Calcite planner
> ----------------------------------------------------
>
>                 Key: HIVE-21817
>                 URL: https://issues.apache.org/jira/browse/HIVE-21817
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>            Reporter: Gopal V
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: calcite-ppr.png, pcr-cache-miss.png
>
>
>  !calcite-ppr.png! 
> {code}
> public static PrunedPartitionList prune(Table tab, ExprNodeDesc prunerExpr,
>       HiveConf conf, String alias, Map<String, PrunedPartitionList> prunedPartitionsMap)
>           throws SemanticException {
> vs
>   public PrunedPartitionList getPrunedPartitions(String alias, TableScanOperator ts)
>       throws SemanticException {
>     PrunedPartitionList partsList = opToPartList.get(ts);
> {code}
> Only the 2nd one hits the PPR cache.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message