Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16746

Reduce number of index lookups for same table in IndexWhereTaskDispatcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-16746.1.patch
          4 kB
          Rajesh Balamohan

        Activity

          People

            rajesh.balamohan Rajesh Balamohan
            rajesh.balamohan Rajesh Balamohan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: