Skip to content

Commit

Permalink
Update migrations/versions/9e8c841d1a30_fix_hash.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored Oct 19, 2024
1 parent 34d4aa1 commit 54c3130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/versions/9e8c841d1a30_fix_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 54c3130

Please sign in to comment.