Add support for map_key_exists#21966
Conversation
|
Please add documentation for the new function, following the Review and Commit guidelines. |
presto-main/src/test/java/com/facebook/presto/operator/scalar/sql/TestMapKeyExists.java
Outdated
Show resolved
Hide resolved
|
LGTM. Please add tests as suggested by Sreeni and push the changes. |
d8144d2 to
9446c7a
Compare
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff b23ba09...6b95bd3.
|
9446c7a to
57c0869
Compare
|
PR updated. |
steveburnett
left a comment
There was a problem hiding this comment.
Thanks for the documentation! I had minor formatting and rephrasing suggestions. Let me know what you think, please.
57c0869 to
1a39502
Compare
|
@steveburnett Thanks for reviewing. All the comments have been addressed. |
presto-main/src/test/java/com/facebook/presto/operator/scalar/sql/TestMapKeyExists.java
Show resolved
Hide resolved
steveburnett
left a comment
There was a problem hiding this comment.
LGTM! (docs)
Pull updated branch, local build of docs, looks good. Thanks!
UDF to return whether a key exists in the given map
1a39502 to
6b95bd3
Compare
|
@tdcmeehan if you could take a look at the PR please. TIA. |
|
@kaikalur, @NikhilCollooru can we merge this PR please. |
UDF to return whether a key exists in the given map
Test plan
Added unit tests.
Build successfully using the following terminal command
./mvnw clean install -Dtest=TestMapKeyExists -fn -pl presto-main