Sort: revenue DESC NULLS FIRST, orders.o_orderdate ASC NULLS LAST
  Projection: lineitem.l_orderkey, SUM(lineitem.l_extendedprice * Int64(1) - lineitem.l_discount) AS revenue, orders.o_orderdate, orders.o_shippriority
    Aggregate: groupBy=[[lineitem.l_orderkey, orders.o_orderdate, orders.o_shippriority]], 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)]]
      Projection: orders.o_orderdate, orders.o_shippriority, lineitem.l_orderkey, lineitem.l_extendedprice, lineitem.l_discount
        Inner Join: orders.o_orderkey = lineitem.l_orderkey
          Projection: orders.o_orderkey, orders.o_orderdate, orders.o_shippriority
            Inner Join: customer.c_custkey = orders.o_custkey
              Projection: customer.c_custkey
                Filter: customer.c_mktsegment = Utf8("BUILDING")
                  TableScan: customer projection=[c_custkey, c_mktsegment]
              Filter: orders.o_orderdate < Date32("9204")
                TableScan: orders projection=[o_orderkey, o_custkey, o_orderdate, o_shippriority]
          Projection: lineitem.l_orderkey, lineitem.l_extendedprice, lineitem.l_discount
            Filter: lineitem.l_shipdate > Date32("9204")
              TableScan: lineitem projection=[l_orderkey, l_extendedprice, l_discount, l_shipdate]