Skip to content

Subquery operators#24757

Merged
kssenii merged 20 commits intoClickHouse:masterfrom
zdikov:subquery-operators
Aug 15, 2021
Merged

Subquery operators#24757
kssenii merged 20 commits intoClickHouse:masterfrom
zdikov:subquery-operators

Conversation

@zdikov
Copy link
Copy Markdown
Contributor

@zdikov zdikov commented May 29, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add support for INTERSECT, EXCEPT, ANY, ALL operators.

@robot-clickhouse robot-clickhouse added doc-alert pr-feature Pull request with new product feature labels May 29, 2021
@CurtizJ
Copy link
Copy Markdown
Member

CurtizJ commented Jun 1, 2021

Please, don't forget about adding tests.


auto new_subquery = std::make_shared<ASTSubquery>();
new_subquery->children.push_back(select_with_union_query);
function->children[0]->children.pop_back();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why not just std::move to the last?

@kssenii kssenii self-assigned this Aug 4, 2021
@kssenii kssenii marked this pull request as ready for review August 14, 2021 18:39
@kssenii kssenii force-pushed the subquery-operators branch from f6163bf to f66e846 Compare August 15, 2021 08:40
@kssenii kssenii merged commit b024c21 into ClickHouse:master Aug 15, 2021
@sevirov
Copy link
Copy Markdown
Contributor

sevirov commented Aug 16, 2021

Internal documentation ticket: DOCSUP-13264

Comment on lines +1003 to +1007
else if (!this->isEqualTo(column, row_num))
{
is_null = true;
}
return false;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So it returns false when the value was actually changed to NULL, why? @kssenii, do you remember?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature Pull request with new product feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants