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 ... USING ... #20660

Open
thmsobrmlr opened this issue Mar 1, 2024 · 0 comments
Open

HogQL: Support for JOIN ... USING ... #20660

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

Comments

@thmsobrmlr
Copy link
Contributor

Is your feature request related to a problem?

We currently don't support JOIN ... USING ... in HogQL. Usually queries can be rewritten to JOIN ... ON .... However this is only possible if a common supertype for the types on the left and right side exists. See the ClickHouse manual for an example, where this isn't possible: https://clickhouse.com/docs/en/sql-reference/statements/select/join#implicit-type-conversion.

Describe the solution you'd like

We support JOIN ... USING ....

Describe alternatives you've considered

Usually queries can be rewritten to JOIN ... ON ....

Additional context

@thmsobrmlr thmsobrmlr added enhancement New feature or request feature/hogql labels Mar 1, 2024
@thmsobrmlr thmsobrmlr changed the title HogQL: Support for JOIN USING ... HogQL: Support for JOIN ... USING ... Mar 1, 2024
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

No branches or pull requests

1 participant