Skip to content

Commit

Permalink
feat(hogql): add toTypeName function to hogql (#22322)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed May 16, 2024
1 parent 5dc6a68 commit c1fe7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posthog/hogql/functions/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class HogQLFunctionMeta:
"toJSONString": HogQLFunctionMeta("toJSONString", 1, 1),
"parseDateTime": HogQLFunctionMeta("parseDateTimeOrNull", 2, 3, tz_aware=True),
"parseDateTimeBestEffort": HogQLFunctionMeta("parseDateTime64BestEffortOrNull", 1, 2, tz_aware=True),
"toTypeName": HogQLFunctionMeta("toTypeName", 1, 1),
# dates and times
"toTimeZone": HogQLFunctionMeta("toTimeZone", 2, 2),
"timeZoneOf": HogQLFunctionMeta("timeZoneOf", 1, 1),
Expand Down

0 comments on commit c1fe7d7

Please sign in to comment.