Mostafa Mokhtar created HIVE-7655: ------------------------------------- Summary: Reading of partitioned table stats slows down explain Key: HIVE-7655 URL: https://issues.apache.org/jira/browse/HIVE-7655 Project: Hive Issue Type: Bug Affects Versions: 0.13.1 Reporter: Mostafa Mokhtar Assignee: Harish Butani Fix For: 0.14.0
This defect is due to a regression introduced in https://issues.apache.org/jira/browse/HIVE-7625, explain for queries that touch partitioned tables is 10x slower. RelOptHiveTable.getRowCount calls listPartitionsWithAuthInfo which returns the data from all partitions, listPartitionsByExpr should be used instead. -- This message was sent by Atlassian JIRA (v6.2#6252)