Skip to content

Commit

Permalink
refactor: group_and_sort_optimized
Browse files Browse the repository at this point in the history
Re-impl column to source info in physical node, support multiple result
source info, previously it is one result only.

Multiple source result is required for SetOperationNode, like union all,
every input node may produce the target column.
  • Loading branch information
aceforeverd committed Nov 17, 2023
1 parent 28e3776 commit 6a03397
Show file tree
Hide file tree
Showing 14 changed files with 802 additions and 299 deletions.
22 changes: 0 additions & 22 deletions cases/plan/error_request_query.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions cases/plan/union_query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ cases:
+-window_list: []
plan_tree_str: |
+-[kQueryPlan]
+-[kUnionPlan]
+-[kSetOperationPlan]
+-operator: UNION ALL
+-children[list]:
+-[kQueryPlan]
Expand Down Expand Up @@ -256,7 +256,7 @@ cases:
+-window_list: []
plan_tree_str: |
+-[kQueryPlan]
+-[kUnionPlan]
+-[kSetOperationPlan]
+-operator: UNION ALL
+-children[list]:
+-[kQueryPlan]
Expand All @@ -272,7 +272,7 @@ cases:
+-[kTablePlan]
+-table: t1
+-[kQueryPlan]
+-[kUnionPlan]
+-[kSetOperationPlan]
+-operator: UNION DISTINCT
+-children[list]:
+-[kQueryPlan]
Expand Down
Loading

0 comments on commit 6a03397

Please sign in to comment.