From 4f26e5d5206920a3dda7fa4f2e9ef37ee5be28b7 Mon Sep 17 00:00:00 2001 From: RuslanBergenov Date: Thu, 10 Oct 2024 18:44:39 -0600 Subject: [PATCH] fix: include event params string and int value Reason: int value is needed for calculation of eng. rate and eng. time. String is added just in case and for some QA purposes --- cf/main.py | 2 ++ tests/rsc/sample_desired_queries.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cf/main.py b/cf/main.py index f0cc6e4..7bd93bd 100644 --- a/cf/main.py +++ b/cf/main.py @@ -289,6 +289,8 @@ def get_event_params_query_select_statement(self): CAST(event_params.value.float_value AS STRING), CAST(event_params.value.double_value AS STRING) ) AS event_params_value, + event_params.value.string_value AS event_params_string_value, + event_params.value.int_value AS event_params_int_value, {self.source_table_type} AS source_table_type FROM temp_events diff --git a/tests/rsc/sample_desired_queries.py b/tests/rsc/sample_desired_queries.py index 113577f..049ea65 100644 --- a/tests/rsc/sample_desired_queries.py +++ b/tests/rsc/sample_desired_queries.py @@ -128,6 +128,8 @@ CAST(event_params.value.float_value AS STRING), CAST(event_params.value.double_value AS STRING) ) AS event_params_value, + event_params.value.string_value AS event_params_string_value, + event_params.value.int_value AS event_params_int_value, 'daily' AS source_table_type