Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update the Description of map_top_n (facebookincubator#12216)
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
- Loading branch information