diff --git a/tests/integration/adapter/projections/test_projections.py b/tests/integration/adapter/projections/test_projections.py index bffe7047..106667bd 100644 --- a/tests/integration/adapter/projections/test_projections.py +++ b/tests/integration/adapter/projections/test_projections.py @@ -117,8 +117,8 @@ def test_create_and_verify_distributed_projection(self, project): print(show_create) # check that the latest query used the projection result = project.run_sql( - f"SELECT query, projections FROM clusterAllReplicas(default, 'system.query_log') " - f"WHERE query like '%{project.test_schema}.{relation.name}%' ", + f"SELECT query, query_start_time, projections FROM clusterAllReplicas(default, 'system.query_log') " + f"WHERE query like '%{project.test_schema}.{relation.name}%' ORDER BY query_start_time DESC", # f"and query not like '%system.query_log%' and read_rows > 0 ORDER BY query_start_time DESC", fetch="all", )