Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(clickhouse): Regenerate local-data HCL golden file against CH 26.6.1.1193 (#70173)

mendral-app[bot]acc7fd0effbf
diff --git a/posthog/clickhouse/hcl/golden/local-data.hcl b/posthog/clickhouse/hcl/golden/local-data.hcl
index 3542ffb396b9..bc52b5e1ae01 100644
--- a/posthog/clickhouse/hcl/golden/local-data.hcl
+++ b/posthog/clickhouse/hcl/golden/local-data.hcl
@@ -788,6 +788,9 @@ database "posthog" {
column "client_version_patch" {
type = "UInt64"
}
+ column "client_agent" {
+ type = "LowCardinality(String)"
+ }
column "http_method" {
type = "UInt8"
}
diff --git a/posthog/clickhouse/hcl/roles/data/local/tables.hcl b/posthog/clickhouse/hcl/roles/data/local/tables.hcl
index 2cd6bc4887c2..df7e8fe423a6 100644
--- a/posthog/clickhouse/hcl/roles/data/local/tables.hcl
+++ b/posthog/clickhouse/hcl/roles/data/local/tables.hcl
@@ -775,6 +775,9 @@ database "posthog" {
column "client_version_patch" {
type = "UInt64"
}
+ column "client_agent" {
+ type = "LowCardinality(String)"
+ }
column "http_method" {
type = "UInt8"
}
diff --git a/posthog/clickhouse/hcl/sql/local-data.sql b/posthog/clickhouse/hcl/sql/local-data.sql
index dba720ecbdb3..957af3fdc358 100644
--- a/posthog/clickhouse/hcl/sql/local-data.sql
+++ b/posthog/clickhouse/hcl/sql/local-data.sql
@@ -130,6 +130,7 @@ CREATE TABLE posthog.distributed_system_processes (
client_version_major UInt64,
client_version_minor UInt64,
client_version_patch UInt64,
+ client_agent LowCardinality(String),
http_method UInt8,
http_user_agent String,
http_referer String,