                          QUERY PLAN                                                                                      
                 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------
 Limit  (cost=1001.19..495095.84 rows=1 width=27) (actual time=20273.945..20273.946 rows=1 loops=1)
   ->  GroupAggregate  (cost=1001.19..3459663.77 rows=7 width=27) (actual time=20273.944..20273.944 rows=1 loops=1)
         Group Key: lineitem.l_shipmode
         ->  Gather Merge  (cost=1001.19..3449409.24 rows=585969 width=27) (actual time=4.196..20050.783 rows=311095 loops=1)
               Workers Planned: 4
               Workers Launched: 4
               ->  Nested Loop  (cost=1.13..3378614.63 rows=146492 width=27) (actual time=0.146..4047.753 rows=62242 loops=5)
                     ->  Parallel Index Scan using idx_l_shipmode on lineitem  (cost=0.57..3269108.53 rows=146492 width=19) (actual time=0.110..3457.710 rows=62242 loops=5)
                           Index Cond: (l_shipmode = ANY ('{"REG AIR",RAIL}'::bpchar[]))
                           Filter: ((l_commitdate < l_receiptdate) AND (l_shipdate < l_commitdate) AND (l_receiptdate >= '1995-01-01'::date) AND (l_receiptdate < '1996-01-01 00:00:00'::timestamp wit
hout time zone))
                           Rows Removed by Filter: 3367280
                     ->  Index Scan using orders_pkey on orders  (cost=0.56..0.75 rows=1 width=20) (actual time=0.008..0.008 rows=1 loops=311209)
                           Index Cond: (o_orderkey = lineitem.l_orderkey)
 Planning time: 0.466 ms
 Execution time: 20276.935 ms
(15 rows)

