From 54c3130b7b1cf93a92369ea90b9953bf5bb74b9a Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Sat, 19 Oct 2024 22:26:20 +0300 Subject: [PATCH] Update migrations/versions/9e8c841d1a30_fix_hash.py --- migrations/versions/9e8c841d1a30_fix_hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/versions/9e8c841d1a30_fix_hash.py b/migrations/versions/9e8c841d1a30_fix_hash.py index 052d03009d..966d393391 100644 --- a/migrations/versions/9e8c841d1a30_fix_hash.py +++ b/migrations/versions/9e8c841d1a30_fix_hash.py @@ -28,7 +28,7 @@ def update_query_hash(record): parameters_dict = {p["name"]: p.get("value") for p in record['options'].get('parameters', [])} if record.options else {} if any(parameters_dict): - print(f"Query {record.id} has parameters. Hash might be incorrect.") + print(f"Query {record['query_id']} has parameters. Hash might be incorrect.") return query_runner.gen_query_hash(query_text, should_apply_auto_limit)