Skip to content

Commit

Permalink
Fixed failing benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Feb 9, 2024
1 parent 9d7c4a6 commit c25248b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@

use function Flow\ETL\Adapter\Parquet\from_parquet;
use function Flow\ETL\Adapter\Parquet\to_parquet;
use function Flow\ETL\DSL\str_entry;
use Flow\ETL\Config;
use Flow\ETL\FlowContext;
use Flow\ETL\Row;
use Flow\ETL\Rows;
use PhpBench\Attributes\Groups;

Expand All @@ -27,10 +25,6 @@ public function __construct()
$this->rows = new Rows();

foreach (from_parquet(__DIR__ . '/../Fixtures/orders_flow.parquet')->extract($this->context) as $rows) {
$rows = $rows->map(static function (Row $row) : Row {
return $row->set(str_entry('order_id', $row->valueOf('order_id')->toString()));
});

$this->rows = $this->rows->merge($rows);
}
}
Expand Down

0 comments on commit c25248b

Please sign in to comment.