|
1 | 1 | Sort: revenue DESC NULLS FIRST |
2 | 2 | Projection: customer.c_custkey, customer.c_name, SUM(lineitem.l_extendedprice * Int64(1) - lineitem.l_discount) AS revenue, customer.c_acctbal, nation.n_name, customer.c_address, customer.c_phone, customer.c_comment |
3 | 3 | Aggregate: groupBy=[[customer.c_custkey, customer.c_name, customer.c_acctbal, customer.c_phone, nation.n_name, customer.c_address, customer.c_comment]], aggr=[[SUM(CAST(lineitem.l_extendedprice AS Decimal128(38, 4)) * CAST(Decimal128(Some(100),23,2) - CAST(lineitem.l_discount AS Decimal128(23, 2)) AS Decimal128(38, 4))) AS SUM(lineitem.l_extendedprice * Int64(1) - lineitem.l_discount)]] |
4 | | - Inner Join: customer.c_nationkey = nation.n_nationkey |
5 | | - Inner Join: orders.o_orderkey = lineitem.l_orderkey |
6 | | - Inner Join: customer.c_custkey = orders.o_custkey |
7 | | - TableScan: customer projection=[c_custkey, c_name, c_address, c_nationkey, c_phone, c_acctbal, c_comment] |
8 | | - Filter: orders.o_orderdate >= Date32("8674") AND orders.o_orderdate < Date32("8766") |
9 | | - TableScan: orders projection=[o_orderkey, o_custkey, o_orderdate] |
10 | | - Filter: lineitem.l_returnflag = Utf8("R") |
11 | | - TableScan: lineitem projection=[l_orderkey, l_extendedprice, l_discount, l_returnflag] |
12 | | - TableScan: nation projection=[n_nationkey, n_name] |
| 4 | + Projection: customer.c_custkey, customer.c_name, customer.c_address, customer.c_phone, customer.c_acctbal, customer.c_comment, lineitem.l_extendedprice, lineitem.l_discount, nation.n_name |
| 5 | + Inner Join: customer.c_nationkey = nation.n_nationkey |
| 6 | + Projection: customer.c_custkey, customer.c_name, customer.c_address, customer.c_nationkey, customer.c_phone, customer.c_acctbal, customer.c_comment, lineitem.l_extendedprice, lineitem.l_discount |
| 7 | + Inner Join: orders.o_orderkey = lineitem.l_orderkey |
| 8 | + Projection: customer.c_custkey, customer.c_name, customer.c_address, customer.c_nationkey, customer.c_phone, customer.c_acctbal, customer.c_comment, orders.o_orderkey |
| 9 | + Inner Join: customer.c_custkey = orders.o_custkey |
| 10 | + TableScan: customer projection=[c_custkey, c_name, c_address, c_nationkey, c_phone, c_acctbal, c_comment] |
| 11 | + Projection: orders.o_orderkey, orders.o_custkey |
| 12 | + Filter: orders.o_orderdate >= Date32("8674") AND orders.o_orderdate < Date32("8766") |
| 13 | + TableScan: orders projection=[o_orderkey, o_custkey, o_orderdate] |
| 14 | + Projection: lineitem.l_orderkey, lineitem.l_extendedprice, lineitem.l_discount |
| 15 | + Filter: lineitem.l_returnflag = Utf8("R") |
| 16 | + TableScan: lineitem projection=[l_orderkey, l_extendedprice, l_discount, l_returnflag] |
| 17 | + TableScan: nation projection=[n_nationkey, n_name] |
0 commit comments