@@ -58,7 +58,7 @@ def _():
58
58
],
59
59
)
60
60
.sort (["l_returnflag" , "l_linestatus" ])
61
- ).collect (streaming = True )
61
+ ).collect ()
62
62
63
63
run (_ )
64
64
@@ -111,7 +111,7 @@ def _():
111
111
)
112
112
.limit (100 )
113
113
.with_columns (pl .col (pl .datatypes .Utf8 ).str .strip_chars ().keep_name ())
114
- ).collect (streaming = True )
114
+ ).collect ()
115
115
116
116
run (_ )
117
117
@@ -148,7 +148,7 @@ def _():
148
148
)
149
149
.sort (by = ["revenue" , "o_orderdate" ], descending = [True , False ])
150
150
.limit (10 )
151
- ).collect (streaming = True )
151
+ ).collect ()
152
152
153
153
run (_ )
154
154
@@ -170,7 +170,7 @@ def _():
170
170
.agg (pl .len ().alias ("order_count" ))
171
171
.sort (by = "o_orderpriority" )
172
172
.with_columns (pl .col ("order_count" ).cast (pl .datatypes .Int64 ))
173
- ).collect (streaming = True )
173
+ ).collect ()
174
174
175
175
run (_ )
176
176
@@ -208,7 +208,7 @@ def _():
208
208
.group_by ("n_name" )
209
209
.agg ([pl .sum ("revenue" )])
210
210
.sort (by = "revenue" , descending = True )
211
- ).collect (streaming = True )
211
+ ).collect ()
212
212
213
213
run (_ )
214
214
@@ -231,7 +231,7 @@ def _():
231
231
(pl .col ("l_extendedprice" ) * pl .col ("l_discount" )).alias ("revenue" )
232
232
)
233
233
.select (pl .sum ("revenue" ).alias ("revenue" ))
234
- ).collect (streaming = True )
234
+ ).collect ()
235
235
236
236
run (_ )
237
237
@@ -280,7 +280,7 @@ def _():
280
280
.group_by (["supp_nation" , "cust_nation" , "l_year" ])
281
281
.agg ([pl .sum ("volume" ).alias ("revenue" )])
282
282
.sort (by = ["supp_nation" , "cust_nation" , "l_year" ])
283
- ).collect (streaming = True )
283
+ ).collect ()
284
284
285
285
run (_ )
286
286
@@ -332,7 +332,7 @@ def _():
332
332
.agg ((pl .sum ("_tmp" ) / pl .sum ("volume" )).round (2 ).alias ("mkt_share" ))
333
333
.sort ("o_year" )
334
334
)
335
- q_final .collect (streaming = True )
335
+ q_final .collect ()
336
336
337
337
run (_ )
338
338
@@ -371,7 +371,7 @@ def _():
371
371
.agg (pl .sum ("amount" ).round (2 ).alias ("sum_profit" ))
372
372
.sort (by = ["nation" , "o_year" ], descending = [False , True ])
373
373
)
374
- q_final .collect (streaming = True )
374
+ q_final .collect ()
375
375
376
376
run (_ )
377
377
@@ -430,7 +430,7 @@ def _():
430
430
.sort (by = "revenue" , descending = True )
431
431
.limit (20 )
432
432
)
433
- q_final .collect (streaming = True )
433
+ q_final .collect ()
434
434
435
435
run (_ )
436
436
@@ -471,7 +471,7 @@ def _():
471
471
.select (["ps_partkey" , "value" ])
472
472
.sort ("value" , descending = True )
473
473
)
474
- q_final .collect (streaming = True )
474
+ q_final .collect ()
475
475
476
476
run (_ )
477
477
@@ -510,7 +510,7 @@ def _():
510
510
.agg ([pl .col ("high_line_count" ).sum (), pl .col ("low_line_count" ).sum ()])
511
511
.sort ("l_shipmode" )
512
512
)
513
- q_final .collect (streaming = True )
513
+ q_final .collect ()
514
514
515
515
run (_ )
516
516
@@ -535,7 +535,7 @@ def _():
535
535
.select ([pl .col ("c_count" ), pl .col ("len" ).alias ("custdist" )])
536
536
.sort (["custdist" , "c_count" ], descending = [True , True ])
537
537
)
538
- q_final .collect (streaming = True )
538
+ q_final .collect ()
539
539
540
540
run (_ )
541
541
@@ -564,7 +564,7 @@ def _():
564
564
.alias ("promo_revenue" )
565
565
)
566
566
)
567
- q_final .collect (streaming = True )
567
+ q_final .collect ()
568
568
569
569
run (_ )
570
570
@@ -597,7 +597,7 @@ def _():
597
597
.select (["s_suppkey" , "s_name" , "s_address" , "s_phone" , "total_revenue" ])
598
598
.sort ("s_suppkey" )
599
599
)
600
- q_final .collect (streaming = True )
600
+ q_final .collect ()
601
601
602
602
run (_ )
603
603
@@ -628,7 +628,7 @@ def _():
628
628
descending = [True , False , False , False ],
629
629
)
630
630
)
631
- q_final .collect (streaming = True )
631
+ q_final .collect ()
632
632
633
633
run (_ )
634
634
@@ -657,7 +657,7 @@ def _():
657
657
(pl .col ("l_extendedprice" ).sum () / 7.0 ).round (2 ).alias ("avg_yearly" )
658
658
)
659
659
)
660
- q_final .collect (streaming = True )
660
+ q_final .collect ()
661
661
662
662
run (_ )
663
663
@@ -693,7 +693,7 @@ def _():
693
693
.sort (["o_totalprice" , "o_orderdat" ], descending = [True , False ])
694
694
.limit (100 )
695
695
)
696
- q_final .collect (streaming = True )
696
+ q_final .collect ()
697
697
698
698
run (_ )
699
699
@@ -740,7 +740,7 @@ def _():
740
740
.alias ("revenue" )
741
741
)
742
742
)
743
- q_final .collect (streaming = True )
743
+ q_final .collect ()
744
744
745
745
run (_ )
746
746
@@ -784,7 +784,7 @@ def _():
784
784
.select (["s_name" , "s_address" ])
785
785
.sort ("s_name" )
786
786
)
787
- q_final .collect (streaming = True )
787
+ q_final .collect ()
788
788
789
789
run (_ )
790
790
@@ -823,7 +823,7 @@ def _():
823
823
.sort (by = ["numwait" , "s_name" ], descending = [True , False ])
824
824
.limit (100 )
825
825
)
826
- q_final .collect (streaming = True )
826
+ q_final .collect ()
827
827
828
828
run (_ )
829
829
@@ -866,6 +866,6 @@ def _():
866
866
)
867
867
.sort ("cntrycode" )
868
868
)
869
- q_final .collect (streaming = True )
869
+ q_final .collect ()
870
870
871
871
run (_ )
0 commit comments