Rajesh Balamohan created HIVE-16746:
---------------------------------------

             Summary: Reduce number of index lookups for same table in 
IndexWhereTaskDispatcher
                 Key: HIVE-16746
                 URL: https://issues.apache.org/jira/browse/HIVE-16746
             Project: Hive
          Issue Type: Bug
            Reporter: Rajesh Balamohan
            Priority: Minor


{{IndexWhereTaskDispatcher}} is used when {{hive.optimize.index.filter=true}}. 
It lists all indices for the table and depending on the query complexity, this 
ends up being in the hotpath. For e.g, Q14 explain plan takes 180-200 seconds 
and this index querying multiple times for same tables take up 30-40 seconds. 
This function was invoked around 24000 times for same set of tables.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to