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

DynamicPartitionPruning lacks a fast-path exit for large IN() queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 1.2.0
    • None
    • Physical Optimizer, Tez
    • None

    Description

      TezCompiler::runDynamicPartitionPruning() & ppr.PartitionPruner() calls the graph walker even if all tables provided to the optimizer are unpartitioned (or temporary) tables.

      This makes it extremely slow as it will walk & inspect a large/complex FilterOperator later in the pipeline.

      Attachments

        1. HIVE-10175.profile.html
          928 kB
          Gopal Vijayaraghavan
        2. HIVE-10175.1.patch
          1 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: