From e9d39054c1eeb8d0dcba20e385a1377fe27feb4d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:32:13 +0000 Subject: [PATCH 1/2] Update query snapshots --- posthog/api/test/__snapshots__/test_feature_flag.ambr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/api/test/__snapshots__/test_feature_flag.ambr b/posthog/api/test/__snapshots__/test_feature_flag.ambr index 6370cb16b9d16..12136ab1f72f7 100644 --- a/posthog/api/test/__snapshots__/test_feature_flag.ambr +++ b/posthog/api/test/__snapshots__/test_feature_flag.ambr @@ -1687,7 +1687,7 @@ # --- # name: TestFeatureFlag.test_creating_static_cohort.14 ''' - /* user_id:34 celery:posthog.tasks.calculate_cohort.insert_cohort_from_feature_flag */ + /* user_id:194 celery:posthog.tasks.calculate_cohort.insert_cohort_from_feature_flag */ SELECT count(DISTINCT person_id) FROM person_static_cohort WHERE team_id = 2 From 2c7702d8c541b7db20c7a6b499d8e128b656d766 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:35:08 +0000 Subject: [PATCH 2/2] Update query snapshots --- posthog/models/filters/test/__snapshots__/test_filter.ambr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/models/filters/test/__snapshots__/test_filter.ambr b/posthog/models/filters/test/__snapshots__/test_filter.ambr index 798a020dd3f35..cbc6a06873d87 100644 --- a/posthog/models/filters/test/__snapshots__/test_filter.ambr +++ b/posthog/models/filters/test/__snapshots__/test_filter.ambr @@ -359,7 +359,7 @@ INNER JOIN "posthog_persondistinctid" ON ("posthog_person"."id" = "posthog_persondistinctid"."person_id") WHERE ("posthog_persondistinctid"."distinct_id" = 'example_id' AND "posthog_person"."team_id" = 2 - AND "posthog_person"."id" = -1) + AND ("posthog_person"."properties" -> 'created_at') > '["2m", "3d"]') LIMIT 1 ''' # --- @@ -370,7 +370,7 @@ INNER JOIN "posthog_persondistinctid" ON ("posthog_person"."id" = "posthog_persondistinctid"."person_id") WHERE ("posthog_persondistinctid"."distinct_id" = 'example_id' AND "posthog_person"."team_id" = 2 - AND "posthog_person"."id" = -1) + AND ("posthog_person"."properties" -> 'created_at') > '"bazinga"') LIMIT 1 ''' # ---