-
Notifications
You must be signed in to change notification settings - Fork 763
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
Feature: Support map functions #15295
Comments
Hi @b41sh, I am interested in taking on the implementation of the feature. If available, I would appreciate being assigned to this task. Thank you for your consideration. |
Hi, @shamb0 Thanks for your attention, you can pick the functions that interest you. |
I want to try map_contains_key |
https://arrow.apache.org/docs/python/generated/pyarrow.MapType.html#pyarrow.MapType.keys_sorted |
Hi @hanxuanliang Thank you for your interest, you can work on this function. |
currently, we don't support |
I would like to work on |
Summary
MAP_CAT(<map1>, <map2>)
Returns the concatenatation of two MAPs. #15337MAP_CONTAINS_KEY(<key>, <map>)
Determines whether the specified MAP contains the specified key. @hanxuanliangMAP_DELETE(<map>, <key1>[, <key2>, ...])
Returns a MAP based on an existing MAP with one or more keys removed..MAP_INSERT(<map>, <key>, <value>[, <updateFlag>])
Returns a new MAP consisting of the input MAP with a new key-value pair inserted (an existing key updated with a new value).MAP_PICK(<map>, <key1>[, <key2>, ...])
orMAP_PICK(<map>, <array>)
Returns a new MAP containing the specified key-value pairs from an existing MAP.MAP_SIZE(<map>)
Returns the size of a MAP.Refer to the following documentations:
https://docs.snowflake.com/en/sql-reference/functions/map_cat
https://docs.snowflake.com/en/sql-reference/functions/map_contains_key
https://docs.snowflake.com/en/sql-reference/functions/map_delete
https://docs.snowflake.com/en/sql-reference/functions/map_insert
https://docs.snowflake.com/en/sql-reference/functions/map_pick
https://docs.snowflake.com/en/sql-reference/functions/map_size
The text was updated successfully, but these errors were encountered: