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 arrayZip function #8149

Merged
merged 2 commits into from
Dec 12, 2019
Merged

Conversation

zhang2014
Copy link
Contributor

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

Changelog category:

  • New Feature

Changelog entry:
Add arrayZip function for combine multiple array type columns

Detailed description (optional):
This is helpful for SELECT arrayZip(ProfileEvents.Names, ProfileEvents.Values) FROM system.query_log LIMIT 10;

@alexey-milovidov
Copy link
Member

BTW, we can also quickly compare array offsets for equality as a whole.

@alexey-milovidov alexey-milovidov merged commit 0dc62d2 into ClickHouse:master Dec 12, 2019
@alexey-milovidov
Copy link
Member

ColumnArray::hasEqualOffsets

alexey-milovidov added a commit that referenced this pull request Dec 12, 2019
alexey-milovidov added a commit that referenced this pull request Dec 12, 2019
@KochetovNicolai KochetovNicolai added the pr-feature Pull request with new product feature label Dec 16, 2019
@BayoNet BayoNet mentioned this pull request Apr 9, 2020
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.

None yet

3 participants