diff --git a/tests/integration/adapter/projections/test_projections.py b/tests/integration/adapter/projections/test_projections.py index 320cd004..7ea00f6f 100644 --- a/tests/integration/adapter/projections/test_projections.py +++ b/tests/integration/adapter/projections/test_projections.py @@ -127,7 +127,7 @@ def test_create_and_verify_distributed_projection(self, project): result = project.run_sql( f"SELECT query, projections FROM clusterAllReplicas(default, 'system.query_log') " - f"WHERE query like '%{project.test_schema}.{relation.name}%' ORDER BY query_start_time DESC" + f"WHERE query like '%{project.test_schema}.{relation.name}%' " f"and query not like '%system.query_log%' and read_rows > 0 ORDER BY query_start_time DESC", fetch="all", )