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

Fastpath for limited fetches from unpartitioned tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14.0, 0.15.0
    • Fix Version/s: 1.1.0
    • Component/s: Physical Optimizer
    • Labels:
      None
    • Release Note:
      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 V
        2. HIVE-9255.2.patch
          5 kB
          Gopal V
        3. HIVE-9255.3.patch
          8 kB
          Gopal V

          Issue Links

            Activity

              People

              • Assignee:
                gopalv Gopal V
                Reporter:
                gopalv Gopal V
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: