Skip to content

Commit

Permalink
fix: Use alias in distributed events recent query (#27945)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias authored Jan 28, 2025
1 parent 8c5a64d commit c372e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/batch_exports/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
AND (length({exclude_events}::Array(String)) = 0 OR event NOT IN {exclude_events}::Array(String))
ORDER BY
_inserted_at, event
)
) AS events
FORMAT ArrowStream
SETTINGS
optimize_aggregation_in_order=1,
Expand Down

0 comments on commit c372e9c

Please sign in to comment.