Skip to content

Commit

Permalink
just disable query analyzer for this query
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Nov 15, 2024
1 parent fcf5500 commit ee60aa5
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 133 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from posthog.hogql import ast
from posthog.hogql.ast import CompareOperation
from posthog.hogql.constants import HogQLGlobalSettings
from posthog.hogql.parser import parse_select
from posthog.hogql.property import entity_to_expr, property_to_expr
from posthog.hogql.query import execute_hogql_query
Expand Down Expand Up @@ -143,6 +144,7 @@ def run(self) -> SessionRecordingQueryResult:
team=self._team,
query_type="SessionRecordingListQuery",
modifiers=self._hogql_query_modifiers,
settings=HogQLGlobalSettings(allow_experimental_analyzer=False), # This needs to be turned on eventually
)

return SessionRecordingQueryResult(
Expand Down
Loading

0 comments on commit ee60aa5

Please sign in to comment.