We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary
map_filter(map, lambda_expr)
map_transform_keys(map, lambda_expr)
map_transform_values(map, lambda_expr)
for example:
SELECT map_filter({1:0,2:2,3:-1}, (k, v) -> k > v); SELECT map_transform_keys({1:1,2:2,3:3}, (k, v) -> k + 1); SELECT map_transform_values({1:1,2:2,3:3}, (k, v) -> k + v);
reference document: https://docs.databricks.com/en/sql/language-manual/functions/map_filter.html https://docs.databricks.com/en/sql/language-manual/functions/transform_keys.html https://docs.databricks.com/en/sql/language-manual/functions/transform_values.html
The text was updated successfully, but these errors were encountered:
i want to try it
Sorry, something went wrong.
Dragonliu2018
Successfully merging a pull request may close this issue.
Summary
map_filter(map, lambda_expr)
map_transform_keys(map, lambda_expr)
map_transform_values(map, lambda_expr)
for example:
reference document:
https://docs.databricks.com/en/sql/language-manual/functions/map_filter.html
https://docs.databricks.com/en/sql/language-manual/functions/transform_keys.html
https://docs.databricks.com/en/sql/language-manual/functions/transform_values.html
The text was updated successfully, but these errors were encountered: