New features (and bug fixes)

1. alter large sequence
    2. subpartition
    2.1 split subpartition
    2.2 truncate subpartition
    3. 支持load
    4. 支持start-with/connect-by
    5. ...
This commit is contained in:
dengxuyue
2021-12-23 20:34:44 +08:00
committed by zhangzhiyang
parent 27bdb0d62b
commit c7b25efcff
1276 changed files with 332499 additions and 94042 deletions

View File

@ -105,6 +105,16 @@ TupleTableSlot* ExecSort(SortState* node)
plan_node->plan.plan_node_id,
SET_DOP(plan_node->plan.dop));
/*
* Here used for start with order siblings by
* We need to set our customized sort function for siblings key
*/
if (IsA(outer_node->plan, RecursiveUnion)) {
RecursiveUnion *ru = (RecursiveUnion *)outer_node->plan;
tuplesort_set_siblings(tuple_sortstate, plan_node->numCols, ru->internalEntryList);
}
if (node->bounded) {
tuplesort_set_bound(tuple_sortstate, node->bound);
}