Skip to content

Commit

Permalink
Revert "don't traverse that deep"
Browse files Browse the repository at this point in the history
This reverts commit 73fc625.
  • Loading branch information
mariusandra committed Apr 26, 2024
1 parent 7619db9 commit 881724e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions posthog/hogql/transforms/lazy_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def visit_field_type(self, node: ast.FieldType):
visited_count = self.visited_field_type_counts.get(node_ref, 0)
if visited_count < self.max_type_visits:
self.visited_field_type_counts[node_ref] = visited_count + 1
self.visit(node.table_type)


class LazyTableResolver(TraversingVisitor):
Expand Down

0 comments on commit 881724e

Please sign in to comment.