diff options
| author | vokayndzop <[email protected]> | 2025-01-29 16:25:37 +0300 | 
|---|---|---|
| committer | vokayndzop <[email protected]> | 2025-01-29 17:18:25 +0300 | 
| commit | be07767ad39d693f1f8165c85adf05f925ff84bf (patch) | |
| tree | 827003dadb10987e5aba89309eddb7902034ca31 /yql/essentials/minikql/computation/mkql_computation_node_holders.h | |
| parent | 6a31c2b82c0136d2a116b7be4e155d1898d4e7eb (diff) | |
MR: aggregation in MEASURES
commit_hash:5357736eed7a221ff5844d4351abe23e65930632
Diffstat (limited to 'yql/essentials/minikql/computation/mkql_computation_node_holders.h')
| -rw-r--r-- | yql/essentials/minikql/computation/mkql_computation_node_holders.h | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/yql/essentials/minikql/computation/mkql_computation_node_holders.h b/yql/essentials/minikql/computation/mkql_computation_node_holders.h index f2bb09006de..23219cc5aa1 100644 --- a/yql/essentials/minikql/computation/mkql_computation_node_holders.h +++ b/yql/essentials/minikql/computation/mkql_computation_node_holders.h @@ -28,6 +28,11 @@ class TMemoryUsageInfo;  const ui32 CodegenArraysFallbackLimit = 1000u; +template <typename Type, EMemorySubPool MemoryPool = EMemorySubPool::Default> +using TMKQLVector = std::vector<Type, TMKQLAllocator<Type, MemoryPool>>; +template<typename Key, typename T, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<Key>, EMemorySubPool MemoryPool = EMemorySubPool::Default> +using TMKQLHashMap = std::unordered_map<Key, T, Hash, KeyEqual, TMKQLAllocator<std::pair<const Key, T>, MemoryPool>>; +  using TKeyTypes = std::vector<std::pair<NUdf::EDataSlot, bool>>;  using TUnboxedValueVector = std::vector<NUdf::TUnboxedValue, TMKQLAllocator<NUdf::TUnboxedValue>>;  using TTemporaryUnboxedValueVector = std::vector<NUdf::TUnboxedValue, TMKQLAllocator<NUdf::TUnboxedValue, EMemorySubPool::Temporary>>; @@ -1074,7 +1079,7 @@ public: //unavailable getters may be eliminated at compile time, but it'd make c  private:      TKeyTypes KeyTypes;      bool IsTuple = false; -     +      //unsused pointers may be eliminated at compile time, but it'd make code much less readable      NUdf::IEquate::TPtr Equate;      NUdf::IHash::TPtr Hash;  | 
