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

Add Array Join support #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

NaLLiFFuNT
Copy link

i've added support for this
https://clickhouse.com/docs/en/sql-reference/statements/select/array-join

May be it should be added to some dialect explicitly, because ClickHouse has a lot of custom sql syntax and features. But implementing flexible analytical query builder i lacked really only Array Join operator

Copy link
Collaborator

@funkyshu funkyshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide updates to the docs near:

func ExampleSelectDataset_CrossJoin() {

and example near:
func ExampleSelectDataset_CrossJoin() {

@@ -343,6 +343,11 @@ func (sd *SelectDataset) CrossJoin(table exp.Expression) *SelectDataset {
return sd.joinTable(exp.NewUnConditionedJoinExpression(exp.CrossJoinType, table))
}

// Adds a CROSS JOIN clause. See examples.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a a CROSS JOIN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants