|
5 | 5 | "Plans": [
|
6 | 6 | {
|
7 | 7 | "Node Type": "ResultSet_1",
|
8 |
| - "PlanNodeId": 14, |
| 8 | + "PlanNodeId": 12, |
9 | 9 | "PlanNodeType": "ResultSet",
|
10 | 10 | "Plans": [
|
11 | 11 | {
|
|
14 | 14 | {
|
15 | 15 | "Inputs": [
|
16 | 16 | {
|
17 |
| - "ExternalPlanNodeId": 12 |
| 17 | + "ExternalPlanNodeId": 10 |
18 | 18 | }
|
19 | 19 | ],
|
20 | 20 | "Limit": "1001",
|
21 | 21 | "Name": "Limit"
|
22 | 22 | }
|
23 | 23 | ],
|
24 |
| - "PlanNodeId": 13, |
| 24 | + "PlanNodeId": 11, |
25 | 25 | "Plans": [
|
26 | 26 | {
|
27 | 27 | "Node Type": "UnionAll",
|
28 |
| - "PlanNodeId": 12, |
| 28 | + "PlanNodeId": 10, |
29 | 29 | "PlanNodeType": "Connection",
|
30 | 30 | "Plans": [
|
31 | 31 | {
|
32 | 32 | "CTE Name": "precompute_0_0",
|
33 |
| - "Node Type": "Limit-Filter-LeftJoin (MapJoin)-ConstantExpr", |
| 33 | + "Node Type": "Limit-InnerJoin (MapJoin)-ConstantExpr-Filter", |
34 | 34 | "Operators": [
|
35 | 35 | {
|
36 | 36 | "Inputs": [
|
37 |
| - { |
38 |
| - "InternalOperatorId": 1 |
39 |
| - }, |
40 |
| - { |
41 |
| - "InternalOperatorId": 1 |
42 |
| - }, |
43 |
| - { |
44 |
| - "InternalOperatorId": 1 |
45 |
| - }, |
46 | 37 | {
|
47 | 38 | "InternalOperatorId": 1
|
48 | 39 | }
|
|
51 | 42 | "Name": "Limit"
|
52 | 43 | },
|
53 | 44 | {
|
54 |
| - "Inputs": [ |
55 |
| - { |
56 |
| - "InternalOperatorId": 2 |
57 |
| - } |
58 |
| - ], |
59 |
| - "Name": "Filter", |
60 |
| - "Predicate": "item.J2_TBL.k == 1" |
61 |
| - }, |
62 |
| - { |
63 |
| - "Condition": "J1_TBL.i = J2_TBL.i", |
| 45 | + "Condition": "J2_TBL.i = J1_TBL.i", |
64 | 46 | "Inputs": [
|
65 | 47 | {
|
66 | 48 | "InternalOperatorId": 3
|
67 | 49 | },
|
68 | 50 | {
|
69 |
| - "ExternalPlanNodeId": 10 |
| 51 | + "InternalOperatorId": 2 |
70 | 52 | }
|
71 | 53 | ],
|
72 |
| - "Name": "LeftJoin (MapJoin)" |
| 54 | + "Name": "InnerJoin (MapJoin)" |
73 | 55 | },
|
74 | 56 | {
|
75 | 57 | "Inputs": [],
|
76 | 58 | "Name": "ToFlow",
|
77 | 59 | "ToFlow": "precompute_0_0"
|
| 60 | + }, |
| 61 | + { |
| 62 | + "Inputs": [ |
| 63 | + { |
| 64 | + "ExternalPlanNodeId": 8 |
| 65 | + } |
| 66 | + ], |
| 67 | + "Name": "Filter", |
| 68 | + "Predicate": "Exist(item.i) AND item.k == 1" |
78 | 69 | }
|
79 | 70 | ],
|
80 |
| - "PlanNodeId": 11, |
| 71 | + "PlanNodeId": 9, |
81 | 72 | "Plans": [
|
82 | 73 | {
|
83 |
| - "Node Type": "Broadcast", |
84 |
| - "PlanNodeId": 10, |
| 74 | + "Columns": [ |
| 75 | + "i", |
| 76 | + "k" |
| 77 | + ], |
| 78 | + "E-Cost": "No estimate", |
| 79 | + "E-Rows": "No estimate", |
| 80 | + "E-Size": "No estimate", |
| 81 | + "LookupKeyColumns": [ |
| 82 | + "i" |
| 83 | + ], |
| 84 | + "Node Type": "TableLookup", |
| 85 | + "Path": "/Root/postgres_jointest/join1.test_plan/J2_TBL", |
| 86 | + "PlanNodeId": 8, |
85 | 87 | "PlanNodeType": "Connection",
|
86 | 88 | "Plans": [
|
87 | 89 | {
|
88 |
| - "Node Type": "Filter", |
| 90 | + "CTE Name": "precompute_0_0", |
| 91 | + "Node Type": "ConstantExpr-Aggregate", |
89 | 92 | "Operators": [
|
90 | 93 | {
|
91 | 94 | "Inputs": [
|
92 | 95 | {
|
93 |
| - "ExternalPlanNodeId": 8 |
| 96 | + "InternalOperatorId": 1 |
94 | 97 | }
|
95 | 98 | ],
|
96 |
| - "Name": "Filter", |
97 |
| - "Predicate": "Exist(item.i)" |
98 |
| - } |
99 |
| - ], |
100 |
| - "PlanNodeId": 9, |
101 |
| - "Plans": [ |
| 99 | + "Iterator": "PartitionByKey", |
| 100 | + "Name": "Iterator" |
| 101 | + }, |
102 | 102 | {
|
103 |
| - "Columns": [ |
104 |
| - "i", |
105 |
| - "k" |
106 |
| - ], |
107 |
| - "E-Cost": "No estimate", |
108 |
| - "E-Rows": "No estimate", |
109 |
| - "E-Size": "No estimate", |
110 |
| - "LookupKeyColumns": [ |
111 |
| - "i" |
112 |
| - ], |
113 |
| - "Node Type": "TableLookup", |
114 |
| - "Path": "/Root/postgres_jointest/join1.test_plan/J2_TBL", |
115 |
| - "PlanNodeId": 8, |
116 |
| - "PlanNodeType": "Connection", |
117 |
| - "Plans": [ |
118 |
| - { |
119 |
| - "CTE Name": "precompute_0_0", |
120 |
| - "Node Type": "ConstantExpr-Aggregate", |
121 |
| - "Operators": [ |
122 |
| - { |
123 |
| - "Inputs": [ |
124 |
| - { |
125 |
| - "InternalOperatorId": 1 |
126 |
| - } |
127 |
| - ], |
128 |
| - "Iterator": "PartitionByKey", |
129 |
| - "Name": "Iterator" |
130 |
| - }, |
131 |
| - { |
132 |
| - "Input": "precompute_0_0", |
133 |
| - "Inputs": [], |
134 |
| - "Name": "PartitionByKey" |
135 |
| - } |
136 |
| - ], |
137 |
| - "PlanNodeId": 7 |
138 |
| - } |
139 |
| - ], |
140 |
| - "Table": "postgres_jointest/join1.test_plan/J2_TBL" |
| 103 | + "Input": "precompute_0_0", |
| 104 | + "Inputs": [], |
| 105 | + "Name": "PartitionByKey" |
141 | 106 | }
|
142 |
| - ] |
| 107 | + ], |
| 108 | + "PlanNodeId": 7 |
143 | 109 | }
|
144 |
| - ] |
| 110 | + ], |
| 111 | + "Table": "postgres_jointest/join1.test_plan/J2_TBL" |
145 | 112 | }
|
146 | 113 | ]
|
147 | 114 | }
|
|
0 commit comments