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

metastore server can cache pruning results across queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Partition pruning results are cached during a query (SemanticAnalyzer and ParseContext are the scope).
      We could also cache them between queries in MetaStore, which would be especially useful if metastore server is remote and thus long-lived/shared between clients.

      It may be more complex than it seems due to OOM potential. Also the key would need to be changed since the same expression string that is currently used may mean different things for different queries.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: