From f33cad95216d702e1a94a8b86d5cb9e18ac9dd9b Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Tue, 7 Feb 2023 15:56:23 +0100 Subject: [PATCH] blah --- posthog/hogql/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/hogql/parser.py b/posthog/hogql/parser.py index 5cc7d6ced8066..32a454b05cf94 100644 --- a/posthog/hogql/parser.py +++ b/posthog/hogql/parser.py @@ -470,13 +470,13 @@ def visitKeywordForAlias(self, ctx: HogQLParser.KeywordForAliasContext): def visitAlias(self, ctx: HogQLParser.AliasContext): text = ctx.getText() if len(text) >= 2 and text.startswith("`") and text.endswith("`"): - text = parse_string(ctx) + text = parse_string(text) return text def visitIdentifier(self, ctx: HogQLParser.IdentifierContext): text = ctx.getText() if len(text) >= 2 and text.startswith("`") and text.endswith("`"): - text = parse_string(ctx) + text = parse_string(text) return text def visitIdentifierOrNull(self, ctx: HogQLParser.IdentifierOrNullContext):