From 41b4ab205409d39f3fa978399c06f51a142830ab Mon Sep 17 00:00:00 2001 From: William Mak Date: Thu, 12 Sep 2024 11:34:03 -0400 Subject: [PATCH] Revert "fix(eap): Switch to sampling_weight_2 in entity (#6287)" - This reverts commit e7fe504332c7d118eb6baf508b2dd5653a44ec8d. since sampling_weight_2 isn't currently populated. Sentry code is going to do a `toUInt64` in the meantime so we can test --- .../events_analytics_platform/entities/eap_spans.yaml | 2 -- .../events_analytics_platform/storages/eap_spans.yaml | 1 - 2 files changed, 3 deletions(-) diff --git a/snuba/datasets/configuration/events_analytics_platform/entities/eap_spans.yaml b/snuba/datasets/configuration/events_analytics_platform/entities/eap_spans.yaml index b10c58d583..6c08867f91 100644 --- a/snuba/datasets/configuration/events_analytics_platform/entities/eap_spans.yaml +++ b/snuba/datasets/configuration/events_analytics_platform/entities/eap_spans.yaml @@ -23,7 +23,6 @@ schema: { name: name, type: String }, { name: sampling_factor, type: Float, args: { size: 64 } }, { name: sampling_weight, type: Float, args: { size: 64 } }, - { name: sampling_weight_2, type: UInt, args: { size: 64 } }, { name: sign, type: Int, args: { size: 8 } }, { name: attr_str, type: Map, args: { key: { type: String }, value: { type: String } } }, { name: attr_num, type: Map, args: { key: { type: String }, value: { type: Float, args: { size: 64 } } } }, @@ -40,7 +39,6 @@ storages: from_col_name: timestamp to_table_name: null to_col_name: _sort_timestamp - subscriptables: - mapper: SubscriptableHashBucketMapper args: diff --git a/snuba/datasets/configuration/events_analytics_platform/storages/eap_spans.yaml b/snuba/datasets/configuration/events_analytics_platform/storages/eap_spans.yaml index 39a4a97f31..4d4245a959 100644 --- a/snuba/datasets/configuration/events_analytics_platform/storages/eap_spans.yaml +++ b/snuba/datasets/configuration/events_analytics_platform/storages/eap_spans.yaml @@ -29,7 +29,6 @@ schema: { name: name, type: String }, { name: sampling_factor, type: Float, args: { size: 64 } }, { name: sampling_weight, type: Float, args: { size: 64 } }, - { name: sampling_weight_2, type: UInt, args: { size: 64 } }, { name: sign, type: Int, args: { size: 8 } }, { name: attr_str_0, type: Map, args: { key: { type: String }, value: { type: String } } }, { name: attr_str_1, type: Map, args: { key: { type: String }, value: { type: String } } },