From 4f07fb7658b2a5e67aaa1ec44355eb8cc77c9919 Mon Sep 17 00:00:00 2001 From: Harry Waye Date: Thu, 10 Feb 2022 12:07:09 +0000 Subject: [PATCH] test(snapshots): update clickhouse snapshot comments (#8535) * test(snapshots): update clickhouse snapshot comments It looks like Clickhouse has been removed from clickhouse sql comments, but the snapshots haven't been updated. Not sure how this got past CI. * missed a couple --- .../test_clickhouse_retention.ambr | 2 +- .../test_clickhouse_stickiness.ambr | 4 ++-- .../__snapshots__/test_clickhouse_trends.ambr | 20 +++++++++---------- .../__snapshots__/test_clickhouse_funnel.ambr | 8 ++++---- .../test_clickhouse_funnel_unordered.ambr | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_retention.ambr b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_retention.ambr index 2edf77af84e..068dceb7c2d 100644 --- a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_retention.ambr +++ b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_retention.ambr @@ -1,6 +1,6 @@ # name: RetentionTests.test_retention_test_account_filters ' - /* request:api_projects_(?P[^_.]+)_insights_retention_?$ (ClickhouseInsightsViewSet) */ WITH actor_query AS + /* request:api_projects_(?P[^_.]+)_insights_retention_?$ (InsightViewSet) */ WITH actor_query AS (WITH 'day' as period, NULL as breakdown_values_filter, NULL as selected_interval, diff --git a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_stickiness.ambr b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_stickiness.ambr index b8ef9427f61..837fe67a1da 100644 --- a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_stickiness.ambr +++ b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_stickiness.ambr @@ -1,6 +1,6 @@ # name: TestClickhouseStickiness.test_aggregate_by_groups ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT countDistinct(aggregation_target), num_intervals FROM @@ -108,7 +108,7 @@ --- # name: TestClickhouseStickiness.test_filter_by_group_properties ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT countDistinct(aggregation_target), num_intervals FROM diff --git a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_trends.ambr b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_trends.ambr index b94e4c601d7..b316185e106 100644 --- a/ee/clickhouse/views/test/__snapshots__/test_clickhouse_trends.ambr +++ b/ee/clickhouse/views/test/__snapshots__/test_clickhouse_trends.ambr @@ -1,6 +1,6 @@ # name: ClickhouseTestTrends.test_insight_trends_aggregate ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT count(*) as data FROM (SELECT e.timestamp as timestamp @@ -45,7 +45,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_basic ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data FROM @@ -113,7 +113,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_clean_arg ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data FROM @@ -179,7 +179,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data FROM @@ -239,7 +239,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative.2 ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data FROM @@ -311,7 +311,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative.4 ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(value) FROM (SELECT trim(BOTH '"' @@ -330,7 +330,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative.5 ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data, breakdown_value @@ -412,7 +412,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative.7 ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(value) FROM (SELECT trim(BOTH '"' @@ -431,7 +431,7 @@ --- # name: ClickhouseTestTrends.test_insight_trends_cumulative.8 ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data, breakdown_value @@ -530,7 +530,7 @@ --- # name: ClickhouseTestTrendsGroups.test_aggregating_by_group ' - /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_trend_?$ (InsightViewSet) */ SELECT groupArray(day_start) as date, groupArray(count) as data FROM diff --git a/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel.ambr b/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel.ambr index d3179fbb977..652d3683578 100644 --- a/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel.ambr +++ b/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel.ambr @@ -1,6 +1,6 @@ # name: ClickhouseTestFunnelGroups.test_funnel_aggregation_with_groups ' - /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (InsightViewSet) */ SELECT countIf(steps = 1) step_1, countIf(steps = 2) step_2, avg(step_1_average_conversion_time_inner) step_1_average_conversion_time, @@ -134,7 +134,7 @@ --- # name: ClickhouseTestFunnelGroups.test_funnel_group_aggregation_with_groups_entity_filtering ' - /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (InsightViewSet) */ SELECT countIf(steps = 1) step_1, countIf(steps = 2) step_2, avg(step_1_average_conversion_time_inner) step_1_average_conversion_time, @@ -270,7 +270,7 @@ --- # name: ClickhouseTestFunnelGroups.test_funnel_with_groups_entity_filtering ' - /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (InsightViewSet) */ SELECT countIf(steps = 1) step_1, countIf(steps = 2) step_2, avg(step_1_average_conversion_time_inner) step_1_average_conversion_time, @@ -403,7 +403,7 @@ --- # name: ClickhouseTestFunnelGroups.test_funnel_with_groups_global_filtering ' - /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (InsightViewSet) */ SELECT countIf(steps = 1) step_1, countIf(steps = 2) step_2, avg(step_1_average_conversion_time_inner) step_1_average_conversion_time, diff --git a/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel_unordered.ambr b/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel_unordered.ambr index 907323ba312..8d56a61aee1 100644 --- a/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel_unordered.ambr +++ b/ee/clickhouse/views/test/funnel/__snapshots__/test_clickhouse_funnel_unordered.ambr @@ -1,6 +1,6 @@ # name: ClickhouseTestUnorderedFunnelGroups.test_unordered_funnel_with_groups ' - /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (ClickhouseInsightsViewSet) */ + /* request:api_projects_(?P[^_.]+)_insights_funnel_?$ (InsightViewSet) */ SELECT countIf(steps = 1) step_1, countIf(steps = 2) step_2, avg(step_1_average_conversion_time_inner) step_1_average_conversion_time,