summaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/topfreq/static/topfreq.cpp
diff options
context:
space:
mode:
authorvvvv <[email protected]>2025-10-06 13:26:25 +0300
committervvvv <[email protected]>2025-10-06 14:06:25 +0300
commiteca8ce9cb1613d5c983185c4e43c20651a9638aa (patch)
tree61ee5ae779948e61af9a7691d19eaa2c09869121 /yql/essentials/udfs/common/topfreq/static/topfreq.cpp
parent4adf7eecae16a9b228b28cc5f64c27ef69ad5ec2 (diff)
YQL-20086 udfs
init commit_hash:f9684778bf1ea956965f2360b80b91edb7d4ffbe
Diffstat (limited to 'yql/essentials/udfs/common/topfreq/static/topfreq.cpp')
-rw-r--r--yql/essentials/udfs/common/topfreq/static/topfreq.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/yql/essentials/udfs/common/topfreq/static/topfreq.cpp b/yql/essentials/udfs/common/topfreq/static/topfreq.cpp
index c118b52d0a1..321bfd5a667 100644
--- a/yql/essentials/udfs/common/topfreq/static/topfreq.cpp
+++ b/yql/essentials/udfs/common/topfreq/static/topfreq.cpp
@@ -8,7 +8,8 @@ using namespace NUdf;
template <typename THash, typename TEquals>
TTopFreqBase<THash, TEquals>::TTopFreqBase(THash hash, TEquals equals)
: Indices_(0, hash, equals)
-{}
+{
+}
template <typename THash, typename TEquals>
void TTopFreqBase<THash, TEquals>::Init(const TUnboxedValuePod& value, const ui32 minSize, const ui32 maxSize) {
@@ -179,21 +180,21 @@ UDF_TYPE_ID_MAP(INSTANCE_FOR)
#undef INSTANCE_FOR
TTopFreqGeneric::TTopFreqGeneric(const TUnboxedValuePod& value, const ui32 minSize, const ui32 maxSize,
- IHash::TPtr hash, IEquate::TPtr equate)
+ IHash::TPtr hash, IEquate::TPtr equate)
: TBase(TGenericHash{hash}, TGenericEquals{equate})
{
TBase::Init(value, minSize, maxSize);
}
TTopFreqGeneric::TTopFreqGeneric(const TTopFreqGeneric& topFreq1, const TTopFreqGeneric& topFreq2,
- IHash::TPtr hash, IEquate::TPtr equate)
+ IHash::TPtr hash, IEquate::TPtr equate)
: TBase(TGenericHash{hash}, TGenericEquals{equate})
{
TBase::Merge(topFreq1, topFreq2);
}
TTopFreqGeneric::TTopFreqGeneric(const TUnboxedValuePod& serialized,
- IHash::TPtr hash, IEquate::TPtr equate)
+ IHash::TPtr hash, IEquate::TPtr equate)
: TBase(TGenericHash{hash}, TGenericEquals{equate})
{
TBase::Deserialize(serialized);
@@ -210,4 +211,3 @@ TUnboxedValue TTopFreqGeneric::Get(const IValueBuilder* builder, ui32 resultSize
void TTopFreqGeneric::AddValue(const TUnboxedValuePod& value) {
TBase::AddValue(value);
}
-