From 0dc7a817926e6bd9b397722a635d0ba5c1b309f2 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Sun, 12 May 2024 13:58:21 -0400 Subject: [PATCH] Fix typo in column name --- .../profile_chunks/0001_create_profile_chunks_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snuba/snuba_migrations/profile_chunks/0001_create_profile_chunks_table.py b/snuba/snuba_migrations/profile_chunks/0001_create_profile_chunks_table.py index 1a1bb57b8e1..b1d85daa81e 100644 --- a/snuba/snuba_migrations/profile_chunks/0001_create_profile_chunks_table.py +++ b/snuba/snuba_migrations/profile_chunks/0001_create_profile_chunks_table.py @@ -36,7 +36,7 @@ def forwards_ops(self) -> Sequence[SqlOperation]: table_name=local_table_name, columns=columns, engine=table_engines.ReplacingMergeTree( - order_by="(project_id, profile_id, start_timestamp, end_timestamp, cityHash64(chunk_id))", + order_by="(project_id, profiler_id, start_timestamp, end_timestamp, cityHash64(chunk_id))", partition_by="(retention_days, toStartOfDay(start_timestamp))", sample_by="cityHash64(profiler_id)", settings={"index_granularity": "8192"},