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

Function mapFromArrays support map type as input #48207

Merged
merged 4 commits into from
Apr 4, 2023

Conversation

taiyang-li
Copy link
Contributor

@taiyang-li taiyang-li commented Mar 30, 2023

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Function mapFromArrays support map type as input

:) select mapFromArrays([1,2,3], map('a',1,'b',2,'c',3))

SELECT mapFromArrays([1, 2, 3], map('a', 1, 'b', 2, 'c', 3))

Query id: 7b6d75ba-c1dc-4a1d-b549-3d28271bb351

┌─mapFromArrays([1, 2, 3], map('a', 1, 'b', 2, 'c', 3))─┐
│ {1:('a',1),2:('b',2),3:('c',3)}                       │
└───────────────────────────────────────────────────────┘

1 row in set. Elapsed: 0.001 sec. 

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-improvement Pull request with some product improvements label Mar 30, 2023
@vdimir vdimir self-assigned this Mar 30, 2023
@vdimir vdimir merged commit 3557232 into ClickHouse:master Apr 4, 2023
145 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-improvement Pull request with some product improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants