Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement](sort) adjust HEAP_SORT usage threshold (apache#41288)
## Proposed changes adjust HEAP_SORT usage threshold ```sql before mysql [test]>SELECT/*+SET_VAR(parallel_pipeline_task_num=1)*/ COUNT() FROM ( SELECT URL FROM hits_1m ORDER BY FlashMajor LIMIT 1000000 OFFSET 50000 ) t; +----------+ | count(*) | +----------+ | 950000 | +----------+ 1 row in set (0.82 sec) after mysql [test]>SELECT/*+SET_VAR(parallel_pipeline_task_num=1)*/ COUNT() FROM ( SELECT URL FROM hits_1m ORDER BY FlashMajor LIMIT 1000000 OFFSET 50000 ) t; +----------+ | count(*) | +----------+ | 950000 | +----------+ 1 row in set (0.22 sec) ```
- Loading branch information