Skip to content

Add Array Join support#364

Open
NaLLiFFuNT wants to merge 1 commit intodoug-martin:masterfrom
NaLLiFFuNT:master
Open

Add Array Join support#364
NaLLiFFuNT wants to merge 1 commit intodoug-martin:masterfrom
NaLLiFFuNT:master

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() {

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