-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually ensure deterministic order of map keys in multimap_from_entr…
…ies Presto function (#8407) Summary: Pull Request resolved: #8407 Previous attempt #8338 didn't work as std::unordered_map doesn't preserve the order of keys: https://stackoverflow.com/questions/35053544/keep-the-order-of-unordered-map-as-we-insert-a-new-key Here, we use F14FastMap + std::vector to ensure the order of keys. Fixes #8396 Reviewed By: amitkdutta Differential Revision: D52826018 fbshipit-source-id: 5e71b78de48d1f741a1be3aa0c0a752214b2edeb
- Loading branch information
1 parent
82bcd39
commit eb09be0
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters