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

Backport: Fastpath for limited fetches from unpartitioned tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0, 0.15.0
    • 1.0.0
    • Physical Optimizer
    • SimpleFetchOptimizer for limited fetches without filters

    Description

      Currently, for flat tables, the threshold check is applicable for a query like select * from lineitem limit 1;.

      This is not necessary as without a filter clause, this can be executed entirely via FetchTask. Running a cluster task is redundant for this case.

      This fastpath is applicable for partitioned tables already.

      Attachments

        1. HIVE-9401.1-branch-0.14.patch
          8 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:
                Resolved: