You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2019/05/31 20:22:00 UTC

[jira] [Created] (HIVE-21817) CBO: PartitionPruner cache-miss from Calcite planner

Gopal V created HIVE-21817:
------------------------------

             Summary: 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
         Attachments: calcite-ppr.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)