diff options
author | scaiper <scaiper@yandex-team.ru> | 2022-03-25 15:53:28 +0300 |
---|---|---|
committer | scaiper <scaiper@yandex-team.ru> | 2022-03-25 15:53:28 +0300 |
commit | 45bd2a4c3af46c6afa8c4f68daf7bc467e88933b (patch) | |
tree | 91d1dbddc76899c3838d8f38c6697d66e4a4243a | |
parent | 967b1dd1ae3df7fac4af1c994821f01c85809c1b (diff) | |
download | ydb-45bd2a4c3af46c6afa8c4f68daf7bc467e88933b.tar.gz |
[YQL-8804] Fix top UDF on duplicate keys
ref:a4b307166ed08c1db25c90037fe0d7603d6ea0af
-rw-r--r-- | ydb/library/yql/udfs/common/top/top_udf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/udfs/common/top/top_udf.cpp b/ydb/library/yql/udfs/common/top/top_udf.cpp index 748ffe489b3..e66f4f11500 100644 --- a/ydb/library/yql/udfs/common/top/top_udf.cpp +++ b/ydb/library/yql/udfs/common/top/top_udf.cpp @@ -66,7 +66,7 @@ struct TGenericPairCompare { template <typename TValue, typename TCompare, typename TAllocator> class TTopKeeperContainer { TTopKeeper<TValue, TCompare, true, TAllocator> Keeper; - using TOrderedSet = TSet<TValue, TCompare, TAllocator>; + using TOrderedSet = TMultiSet<TValue, TCompare, TAllocator>; TMaybe<TOrderedSet> OrderedSet; size_t MaxSize = 0; bool Finalized = false; |