-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 json_array_length Presto Json function #2294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Pramod, Thank you for adding this function.
7d5a5bd
to
33743b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Pramod. Looks good overall.
Looks good to me. Thank you for making the changes! |
@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@pramodsatya Thanks for making this change. As a follow up can you please also update the coverage map. cc: @kagamiori |
Adds Json function json_array_length to find the length of Json arrays, if the Json object doesn't represent an array, return NULL.