@@ -2186,59 +2186,50 @@ sort
21862186 │ │ ├── grouping columns: ps_suppkey:17!null
21872187 │ │ ├── immutable
21882188 │ │ ├── key: (17)
2189- │ │ └── project
2190- │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null
2189+ │ │ └── inner-join (lookup part)
2190+ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null p_partkey:23!null p_name:24!null sum:52!null
2191+ │ │ ├── key columns: [16] = [23]
2192+ │ │ ├── lookup columns are key
21912193 │ │ ├── immutable
2192- │ │ ├── key: (16,17)
2193- │ │ └── project
2194- │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null p_partkey:23!null
2195- │ │ ├── immutable
2196- │ │ ├── key: (17,23)
2197- │ │ ├── fd: (16)==(23), (23)==(16)
2198- │ │ └── inner-join (lookup part)
2199- │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null p_partkey:23!null p_name:24!null sum:52!null
2200- │ │ ├── key columns: [16] = [23]
2201- │ │ ├── lookup columns are key
2202- │ │ ├── immutable
2203- │ │ ├── key: (17,23)
2204- │ │ ├── fd: (16,17)-->(18,52), (23)-->(24), (16)==(23), (23)==(16)
2205- │ │ ├── select
2206- │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null sum:52!null
2207- │ │ │ ├── immutable
2208- │ │ │ ├── key: (16,17)
2209- │ │ │ ├── fd: (16,17)-->(18,52)
2210- │ │ │ ├── group-by
2211- │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null sum:52!null
2212- │ │ │ │ ├── grouping columns: ps_partkey:16!null ps_suppkey:17!null
2213- │ │ │ │ ├── key: (16,17)
2214- │ │ │ │ ├── fd: (16,17)-->(18,52)
2215- │ │ │ │ ├── inner-join (hash)
2216- │ │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null l_partkey:35!null l_suppkey:36!null l_quantity:38!null l_shipdate:44!null
2217- │ │ │ │ │ ├── multiplicity: left-rows(exactly-one), right-rows(zero-or-more)
2218- │ │ │ │ │ ├── fd: (16,17)-->(18), (16)==(35), (35)==(16), (17)==(36), (36)==(17)
2219- │ │ │ │ │ ├── index-join lineitem
2220- │ │ │ │ │ │ ├── columns: l_partkey:35!null l_suppkey:36!null l_quantity:38!null l_shipdate:44!null
2221- │ │ │ │ │ │ └── scan lineitem@l_sd
2222- │ │ │ │ │ │ ├── columns: l_orderkey:34!null l_linenumber:37!null l_shipdate:44!null
2223- │ │ │ │ │ │ ├── constraint: /44/34/37: [/'1994-01-01' - /'1994-12-31']
2224- │ │ │ │ │ │ ├── key: (34,37)
2225- │ │ │ │ │ │ └── fd: (34,37)-->(44)
2226- │ │ │ │ │ ├── scan partsupp
2227- │ │ │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null
2228- │ │ │ │ │ │ ├── key: (16,17)
2229- │ │ │ │ │ │ └── fd: (16,17)-->(18)
2230- │ │ │ │ │ └── filters
2231- │ │ │ │ │ ├── l_partkey:35 = ps_partkey:16 [outer=(16,35), constraints=(/16: (/NULL - ]; /35: (/NULL - ]), fd=(16)==(35), (35)==(16)]
2232- │ │ │ │ │ └── l_suppkey:36 = ps_suppkey:17 [outer=(17,36), constraints=(/17: (/NULL - ]; /36: (/NULL - ]), fd=(17)==(36), (36)==(17)]
2233- │ │ │ │ └── aggregations
2234- │ │ │ │ ├── sum [as=sum:52, outer=(38)]
2235- │ │ │ │ │ └── l_quantity:38
2236- │ │ │ │ └── const-agg [as=ps_availqty:18, outer=(18)]
2237- │ │ │ │ └── ps_availqty:18
2238- │ │ │ └── filters
2239- │ │ │ └── ps_availqty:18 > (sum:52 * 0.5) [outer=(18,52), immutable, constraints=(/18: (/NULL - ])]
2240- │ │ └── filters
2241- │ │ └── p_name:24 LIKE 'forest%' [outer=(24), constraints=(/24: [/'forest' - /'foresu'); tight)]
2194+ │ │ ├── key: (17,23)
2195+ │ │ ├── fd: (16,17)-->(18,52), (23)-->(24), (16)==(23), (23)==(16)
2196+ │ │ ├── select
2197+ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null sum:52!null
2198+ │ │ │ ├── immutable
2199+ │ │ │ ├── key: (16,17)
2200+ │ │ │ ├── fd: (16,17)-->(18,52)
2201+ │ │ │ ├── group-by
2202+ │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null sum:52!null
2203+ │ │ │ │ ├── grouping columns: ps_partkey:16!null ps_suppkey:17!null
2204+ │ │ │ │ ├── key: (16,17)
2205+ │ │ │ │ ├── fd: (16,17)-->(18,52)
2206+ │ │ │ │ ├── inner-join (hash)
2207+ │ │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null l_partkey:35!null l_suppkey:36!null l_quantity:38!null l_shipdate:44!null
2208+ │ │ │ │ │ ├── multiplicity: left-rows(exactly-one), right-rows(zero-or-more)
2209+ │ │ │ │ │ ├── fd: (16,17)-->(18), (16)==(35), (35)==(16), (17)==(36), (36)==(17)
2210+ │ │ │ │ │ ├── index-join lineitem
2211+ │ │ │ │ │ │ ├── columns: l_partkey:35!null l_suppkey:36!null l_quantity:38!null l_shipdate:44!null
2212+ │ │ │ │ │ │ └── scan lineitem@l_sd
2213+ │ │ │ │ │ │ ├── columns: l_orderkey:34!null l_linenumber:37!null l_shipdate:44!null
2214+ │ │ │ │ │ │ ├── constraint: /44/34/37: [/'1994-01-01' - /'1994-12-31']
2215+ │ │ │ │ │ │ ├── key: (34,37)
2216+ │ │ │ │ │ │ └── fd: (34,37)-->(44)
2217+ │ │ │ │ │ ├── scan partsupp
2218+ │ │ │ │ │ │ ├── columns: ps_partkey:16!null ps_suppkey:17!null ps_availqty:18!null
2219+ │ │ │ │ │ │ ├── key: (16,17)
2220+ │ │ │ │ │ │ └── fd: (16,17)-->(18)
2221+ │ │ │ │ │ └── filters
2222+ │ │ │ │ │ ├── l_partkey:35 = ps_partkey:16 [outer=(16,35), constraints=(/16: (/NULL - ]; /35: (/NULL - ]), fd=(16)==(35), (35)==(16)]
2223+ │ │ │ │ │ └── l_suppkey:36 = ps_suppkey:17 [outer=(17,36), constraints=(/17: (/NULL - ]; /36: (/NULL - ]), fd=(17)==(36), (36)==(17)]
2224+ │ │ │ │ └── aggregations
2225+ │ │ │ │ ├── sum [as=sum:52, outer=(38)]
2226+ │ │ │ │ │ └── l_quantity:38
2227+ │ │ │ │ └── const-agg [as=ps_availqty:18, outer=(18)]
2228+ │ │ │ │ └── ps_availqty:18
2229+ │ │ │ └── filters
2230+ │ │ │ └── ps_availqty:18 > (sum:52 * 0.5) [outer=(18,52), immutable, constraints=(/18: (/NULL - ])]
2231+ │ │ └── filters
2232+ │ │ └── p_name:24 LIKE 'forest%' [outer=(24), constraints=(/24: [/'forest' - /'foresu'); tight)]
22422233 │ └── filters (true)
22432234 └── filters
22442235 └── n_name:11 = 'CANADA' [outer=(11), constraints=(/11: [/'CANADA' - /'CANADA']; tight), fd=()-->(11)]
0 commit comments