Skip to content

Commit

Permalink
fix(hogql): Allow missing aggregate errors to reach the UI (#21070)
Browse files Browse the repository at this point in the history
Allow missing aggregate errors to reach the UI
  • Loading branch information
Gilbert09 authored Mar 21, 2024
1 parent c491bf2 commit 4c4a3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def look_up_error_code_meta(error: ServerException) -> ErrorCodeMeta:
60: ErrorCodeMeta("UNKNOWN_TABLE"),
61: ErrorCodeMeta("ONLY_FILTER_COLUMN_IN_BLOCK"),
62: ErrorCodeMeta("SYNTAX_ERROR"),
63: ErrorCodeMeta("UNKNOWN_AGGREGATE_FUNCTION"),
63: ErrorCodeMeta("UNKNOWN_AGGREGATE_FUNCTION", user_safe=True),
64: ErrorCodeMeta("CANNOT_READ_AGGREGATE_FUNCTION_FROM_TEXT"),
65: ErrorCodeMeta("CANNOT_WRITE_AGGREGATE_FUNCTION_AS_TEXT"),
66: ErrorCodeMeta("NOT_A_COLUMN"),
Expand Down

0 comments on commit 4c4a3fc

Please sign in to comment.