-
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
fix: Update the Description of map_top_n #12216
Conversation
✅ Deploy Preview for meta-velox canceled.
|
This pull request was exported from Phabricator. Differential Revision: D68913230 |
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 for the fix. Please capitalize the PR title as well as the commit message:
fix: Update the description of map_top_n
Summary: Update the description of map_top_n map function **map_top_n** returns a new map containing only the top N elements, sorted in descending order by value. In cases where values are tied, the function sorts the tied elements in lexicographical descending order by key. Since both 'a' and 'c' have null values, 'c' is included in the top 2 results along with 'b', Reviewed By: zacw7 Differential Revision: D68913230
7be2f9c
to
563afee
Compare
This pull request was exported from Phabricator. Differential Revision: D68913230 |
Summary: Update the description of map_top_n map function **map_top_n** returns a new map containing only the top N elements, sorted in descending order by value. In cases where values are tied, the function sorts the tied elements in lexicographical descending order by key. Since both 'a' and 'c' have null values, 'c' is included in the top 2 results along with 'b', Reviewed By: zacw7 Differential Revision: D68913230
563afee
to
15c6343
Compare
This pull request was exported from Phabricator. Differential Revision: D68913230 |
This pull request has been merged in 832583d. |
Summary: Pull Request resolved: facebookincubator#12216 Update the description of map_top_n map function **map_top_n** returns a new map containing only the top N elements, sorted in descending order by value. In cases where values are tied, the function sorts the tied elements in lexicographical descending order by key. Since both 'a' and 'c' have null values, 'c' is included in the top 2 results along with 'b', Reviewed By: zacw7 Differential Revision: D68913230 fbshipit-source-id: 7d0483d28e2f7eada5e1dcb7e0bd000857f831ac
Summary:
Update the description of map_top_n
map function map_top_n returns a new map containing only the top N elements, sorted in descending order by value. In cases where values are tied, the function sorts the tied elements in lexicographical descending order by key.
Since both 'a' and 'c' have null values, 'c' is included in the top 2 results along with 'b',
Differential Revision: D68913230