Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Feb 7, 2023
1 parent 4bf2d65 commit f33cad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/hogql/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f33cad9

Please sign in to comment.