[
https://issues.apache.org/jira/browse/DRILL-6339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arina Ielchiieva updated DRILL-6339:
------------------------------------
Labels: doc-impacting (was: )
> 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 & Optimization
> Affects Versions: 1.13.0
> Reporter: Boaz Ben-Zvi
> Assignee: Arina Ielchiieva
> Priority: Minor
> Labels: doc-impacting, ready-to-commit
> 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)