Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
thmsobrmlr opened this issue Mar 1, 2024 · 0 comments · Fixed by #21386
Closed

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

thmsobrmlr opened this issue Mar 1, 2024 · 0 comments · Fixed by #21386
Labels
enhancement New feature or request feature/hogql

Comments

@thmsobrmlr
Copy link
Contributor

thmsobrmlr commented Mar 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/hogql
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant