@@ -109,7 +109,7 @@ public function aggregate(AggregatingFunction ...$aggregations) : self
109
109
$ groupBy = new GroupBy ();
110
110
$ groupBy ->aggregate (...$ aggregations );
111
111
112
- $ this ->pipeline = new LinkedPipeline (new GroupByPipeline ($ groupBy , $ this ->pipeline ), new SynchronousPipeline () );
112
+ $ this ->pipeline = new LinkedPipeline (new GroupByPipeline ($ groupBy , $ this ->pipeline ));
113
113
114
114
return $ this ;
115
115
}
@@ -135,7 +135,7 @@ public function autoCast() : self
135
135
*/
136
136
public function batchSize (int $ size ) : self
137
137
{
138
- $ this ->pipeline = new LinkedPipeline (new BatchingPipeline ($ this ->pipeline , $ size ), new SynchronousPipeline () );
138
+ $ this ->pipeline = new LinkedPipeline (new BatchingPipeline ($ this ->pipeline , $ size ));
139
139
140
140
return $ this ;
141
141
}
@@ -159,7 +159,7 @@ public function cache(?string $id = null, ?int $cacheBatchSize = null) : self
159
159
}
160
160
161
161
$ this ->batchSize ($ cacheBatchSize ?? $ this ->context ->config ->cacheBatchSize ());
162
- $ this ->pipeline = new LinkedPipeline (new CachingPipeline ($ this ->pipeline , $ id ), new SynchronousPipeline () );
162
+ $ this ->pipeline = new LinkedPipeline (new CachingPipeline ($ this ->pipeline , $ id ));
163
163
164
164
return $ this ;
165
165
}
@@ -172,7 +172,7 @@ public function cache(?string $id = null, ?int $cacheBatchSize = null) : self
172
172
*/
173
173
public function collect () : self
174
174
{
175
- $ this ->pipeline = new LinkedPipeline (new CollectingPipeline ($ this ->pipeline ), new SynchronousPipeline () );
175
+ $ this ->pipeline = new LinkedPipeline (new CollectingPipeline ($ this ->pipeline ));
176
176
177
177
return $ this ;
178
178
}
@@ -459,7 +459,7 @@ public function join(self $dataFrame, Expression $on, string|Join $type = Join::
459
459
$ type = Join::from ($ type );
460
460
}
461
461
462
- $ this ->pipeline = new LinkedPipeline (new HashJoinPipeline ($ this ->pipeline , $ dataFrame , $ on , $ type ), new SynchronousPipeline () );
462
+ $ this ->pipeline = new LinkedPipeline (new HashJoinPipeline ($ this ->pipeline , $ dataFrame , $ on , $ type ));
463
463
464
464
return $ this ;
465
465
}
@@ -556,7 +556,7 @@ public function partitionBy(string|Reference $entry, string|Reference ...$entrie
556
556
{
557
557
\array_unshift ($ entries , $ entry );
558
558
559
- $ this ->pipeline = new LinkedPipeline (new PartitioningPipeline ($ this ->pipeline , References::init (...$ entries )->all ()), new SynchronousPipeline () );
559
+ $ this ->pipeline = new LinkedPipeline (new PartitioningPipeline ($ this ->pipeline , References::init (...$ entries )->all ()));
560
560
561
561
return $ this ;
562
562
}
@@ -852,7 +852,7 @@ public function withEntry(string $entryName, ScalarFunction|WindowFunction $ref)
852
852
{
853
853
if ($ ref instanceof WindowFunction) {
854
854
if (\count ($ ref ->window ()->partitions ())) {
855
- $ this ->pipeline = new LinkedPipeline (new PartitioningPipeline ($ this ->pipeline , $ ref ->window ()->partitions (), $ ref ->window ()->order ()), new SynchronousPipeline () );
855
+ $ this ->pipeline = new LinkedPipeline (new PartitioningPipeline ($ this ->pipeline , $ ref ->window ()->partitions (), $ ref ->window ()->order ()));
856
856
} else {
857
857
$ this ->collect ();
858
858
0 commit comments