From 232843eb57fad122a0c1b5db63e58c62d5405975 Mon Sep 17 00:00:00 2001 From: Hendrik Makait Date: Thu, 15 Aug 2024 14:49:27 +0200 Subject: [PATCH] Avoid additional optimization step --- tests/tpch/test_optimization.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tpch/test_optimization.py b/tests/tpch/test_optimization.py index 851d3d6ab8..28b6deed86 100644 --- a/tests/tpch/test_optimization.py +++ b/tests/tpch/test_optimization.py @@ -44,7 +44,6 @@ def test_optimization(query, dataset_path, fs, client, scale): def test_delay_computation_start(query, dataset_path, fs, client, scale): func = getattr(dask_queries, f"query_{query:02d}") - result = func(dataset_path, fs, scale).optimize() # Client.compute unblocks as soon as update_graph finishes, i.e. graph is # submitted and parsed. This is the time until the dashboard kicks off - client.compute(result) + client.compute(func(dataset_path, fs, scale))