Skip to content

Commit

Permalink
Fixed website
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Sep 26, 2024
1 parent 68ce8b0 commit 5471c10
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions web/landing/src/Flow/Website/Controller/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

namespace Flow\Website\Controller;

use function Flow\ETL\Adapter\Parquet\from_parquet;
use Flow\Bridge\Symfony\HttpFoundation\Output\CSVOutput;
use Flow\Bridge\Symfony\HttpFoundation\Transformation\{MaskColumns};
use Flow\Bridge\Symfony\HttpFoundation\{FlowStreamedResponse};
use Flow\Website\Service\{Examples};
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
Expand All @@ -27,14 +23,4 @@ public function home() : Response
'topics' => $this->examples->topics(),
]);
}

#[Route('/export/report', name: 'export-report')]
public function streamExample() : Response
{
return new FlowStreamedResponse(
from_parquet(__DIR__ . '/reports/orders.parquet'),
new CSVOutput(withHeader: true),
new MaskColumns(['address'])
);
}
}

0 comments on commit 5471c10

Please sign in to comment.