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

Fastpath for limited fetches from unpartitioned tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.14.0, 0.15.0
    • 1.1.0
    • Physical Optimizer
    • None
    • 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-9255.1.patch
          3 kB
          Gopal Vijayaraghavan
        2. HIVE-9255.2.patch
          5 kB
          Gopal Vijayaraghavan
        3. HIVE-9255.3.patch
          8 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: