       QUERY PLAN                                                                                            
           
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------
 Limit  (cost=1001.19..495095.84 rows=1 width=27) (actual time=18044.335..18044.336 rows=1 loops=1)
   ->  GroupAggregate  (cost=1001.19..3459663.77 rows=7 width=27) (actual time=18044.333..18044.333 rows=1 loops=1)
         Group Key: lineitem.l_shipmode
         ->  Gather Merge  (cost=1001.19..3449409.24 rows=585969 width=27) (actual time=4.777..17843.441 rows=311095 loops=1)
               Workers Planned: 4
               Workers Launched: 4
               ->  Nested Loop  (cost=1.13..3378614.63 rows=146492 width=27) (actual time=0.163..4254.309 rows=62418 loops=5)
                     ->  Parallel Index Scan using idx_l_shipmode on lineitem  (cost=0.57..3269108.53 rows=146492 width=19) (actual time=0.122..3634.319 rows=62418 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 without t
ime zone))
                           Rows Removed by Filter: 3376876
                     ->  Index Scan using orders_pkey on orders  (cost=0.56..0.75 rows=1 width=20) (actual time=0.009..0.009 rows=1 loops=312092)
                           Index Cond: (o_orderkey = lineitem.l_orderkey)
 Planning time: 0.499 ms
 Execution time: 18047.315 ms
(15 rows)

