You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Boaz Ben-Zvi (JIRA)" <ji...@apache.org> on 2018/04/17 20:58:00 UTC

[jira] [Created] (DRILL-6339) New option to disable TopN (for testing Sort)

Boaz Ben-Zvi created DRILL-6339:
-----------------------------------

             Summary: New option to disable TopN (for testing Sort)
                 Key: DRILL-6339
                 URL: https://issues.apache.org/jira/browse/DRILL-6339
             Project: Apache Drill
          Issue Type: Improvement
          Components: Query Planning &amp; Optimization
    Affects Versions: 1.13.0
            Reporter: Boaz Ben-Zvi
            Assignee: Boaz Ben-Zvi
             Fix For: 1.14.0


   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).

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)