You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
MCOL-3267 CS now executes sorting inside UNION ALL sub-selects.
This commit is contained in:
@@ -7138,7 +7138,9 @@ int getSelectPlan(gp_walk_info& gwi, SELECT_LEX& select_lex, SCSEP& csep, bool i
|
|||||||
|
|
||||||
// for subquery, order+limit by will be supported in infinidb. build order by columns
|
// for subquery, order+limit by will be supported in infinidb. build order by columns
|
||||||
// @todo union order by and limit support
|
// @todo union order by and limit support
|
||||||
if (gwi.hasWindowFunc || gwi.subSelectType != CalpontSelectExecutionPlan::MAIN_SELECT)
|
if (gwi.hasWindowFunc
|
||||||
|
|| gwi.subSelectType != CalpontSelectExecutionPlan::MAIN_SELECT
|
||||||
|
|| ( isUnion && ordercol ))
|
||||||
{
|
{
|
||||||
for (; ordercol; ordercol = ordercol->next)
|
for (; ordercol; ordercol = ordercol->next)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user