Skip to content

Commit

Permalink
hotfix inner join person
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Feb 23, 2024
1 parent 5b5e7ff commit c3869b3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1,711 deletions.
4 changes: 4 additions & 0 deletions posthog/hogql_queries/actors_query_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def source_table_join(self) -> ast.JoinExpr:
)

def to_query(self) -> ast.SelectQuery:
return ast.SelectQuery(
select=[ast.Field(chain=["actor_id"])],
select_from=ast.JoinExpr(table=self.source_query_runner.to_actors_query()),

Check failure on line 163 in posthog/hogql_queries/actors_query_runner.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

Item "None" of "QueryRunner | None" has no attribute "to_actors_query"
)
with self.timings.measure("columns"):

Check failure on line 165 in posthog/hogql_queries/actors_query_runner.py

View workflow job for this annotation

GitHub Actions / Python code quality checks

Statement is unreachable
columns = []
group_by = []
Expand Down
Loading

0 comments on commit c3869b3

Please sign in to comment.