Skip to content

HogQL: Support for JOIN ... AS ... #20661

@thmsobrmlr

Description

@thmsobrmlr

Is your feature request related to a problem?

We do not support aliasing a join JOIN ... AS ....

Try this example in the HogQL query editor:

WITH funnel_actors AS (SELECT toUUID('018a1a68-e622-0000-8811-0fcb68c943d8') AS actor_id)
SELECT * FROM events event
JOIN funnel_actors AS actors
ON event.person_id = actors.actor_id
Screenshot 2024-03-01 at 13 28 50

Describe the solution you'd like

Support for JOIN ... AS ....

Describe alternatives you've considered

Not aliasing the joined table.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions