From cb35cf011d56225ab6a3fa4a7f1918a9e20a1a64 Mon Sep 17 00:00:00 2001 From: Robbie Date: Thu, 28 Mar 2024 09:36:24 +0000 Subject: [PATCH] Fix quotes type --- posthog/hogql/database/schema/channel_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/hogql/database/schema/channel_type.py b/posthog/hogql/database/schema/channel_type.py index 99b7dfcdecd57b..24e4d32bab05bc 100644 --- a/posthog/hogql/database/schema/channel_type.py +++ b/posthog/hogql/database/schema/channel_type.py @@ -77,7 +77,7 @@ def wrap_with_null_if_empty(expr: ast.Expr) -> ast.Expr: 'Cross Network', ( - {medium} IN ('cpc', 'cpm', `cpv`, `cpa`, 'ppc', 'retargeting') OR + {medium} IN ('cpc', 'cpm', 'cpv', 'cpa', 'ppc', 'retargeting') OR startsWith({medium}, 'paid') OR {gclid} IS NOT NULL OR {gad_source} IS NOT NULL