From fa70e10159a34d2bd20cdabcb6eab023a1887b12 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:31:49 +0000 Subject: [PATCH] Update query snapshots --- .../test/__snapshots__/test_schema.ambr | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/posthog/clickhouse/test/__snapshots__/test_schema.ambr b/posthog/clickhouse/test/__snapshots__/test_schema.ambr index cd975ff0f823cc..f02380c8fc7a23 100644 --- a/posthog/clickhouse/test/__snapshots__/test_schema.ambr +++ b/posthog/clickhouse/test/__snapshots__/test_schema.ambr @@ -419,6 +419,20 @@ ' --- +# name: test_create_table_query[channel_definition] + ' + + CREATE TABLE IF NOT EXISTS channel_definition ON CLUSTER 'posthog' ( + domain String NOT NULL, + kind String NOT NULL, + domain_type String NULL, + type_if_paid String NULL, + type_if_organic String NULL + ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/77f1df52-4b43-11e9-910f-b8ca3a9b9f3e_noshard/posthog.channel_definition', '{replica}-{shard}') + ORDER BY (domain, kind); + + ' +--- # name: test_create_table_query[cohortpeople] ' @@ -1882,6 +1896,20 @@ ' --- +# name: test_create_table_query_replicated_and_storage[channel_definition] + ' + + CREATE TABLE IF NOT EXISTS channel_definition ON CLUSTER 'posthog' ( + domain String NOT NULL, + kind String NOT NULL, + domain_type String NULL, + type_if_paid String NULL, + type_if_organic String NULL + ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/77f1df52-4b43-11e9-910f-b8ca3a9b9f3e_noshard/posthog.channel_definition', '{replica}-{shard}') + ORDER BY (domain, kind); + + ' +--- # name: test_create_table_query_replicated_and_storage[cohortpeople] '