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

Insert + orderby + limit does not need additional RS for limiting rows

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Query Processor
    • Labels:
      None

      Description

      The query,

      insert overwrite table dummy select * from src order by key limit 10;
      

      runs two MR but single MR is enough.

        Attachments

        1. HIVE-5062.D12171.1.patch
          8 kB
          Phabricator

          Activity

            People

            • Assignee:
              navis Navis Ryu
              Reporter:
              navis Navis Ryu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: