diff --git a/ee/clickhouse/materialized_columns/test/test_columns.py b/ee/clickhouse/materialized_columns/test/test_columns.py index b9874b161b3d4..3978d010f7246 100644 --- a/ee/clickhouse/materialized_columns/test/test_columns.py +++ b/ee/clickhouse/materialized_columns/test/test_columns.py @@ -339,7 +339,7 @@ def test_lifecycle(self): MaterializedColumn.get(table, destination_column) def _get_latest_mutation_id(self, table: str) -> str: - match sync_execute( + [(mutation_id,)] = sync_execute( """ SELECT max(mutation_id) FROM system.mutations @@ -348,9 +348,8 @@ def _get_latest_mutation_id(self, table: str) -> str: AND table = %(table)s """, {"table": table}, - ): - case [(mutation_id,)]: - return mutation_id + ) + return mutation_id def _get_mutations_since_id(self, table: str, id: str) -> Iterable[str]: return [