Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6339

New option to disable TopN (for testing Sort)

    XMLWordPrintableJSON

Details

    Description

         When a query uses ... ORDER BY ... LIMIT ..., the planner unconditionally picks the TopN operator to (efficiently) implement this order.  This precludes an easy way to test the External Sort operator over a large dataset (e.g., test spilling).

         A new internal option to disable picking TopN (hence using the External Sort instead) would be useful for various testings. (And may be in other scenarios, like a bug found in the TopN).

       

      Attachments

        Issue Links

          Activity

            People

              ben-zvi Boaz Ben-Zvi
              ben-zvi Boaz Ben-Zvi
              Arina Ielchiieva Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: