diff options
author | uzhas <uzhas@ydb.tech> | 2023-03-16 14:40:25 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-03-16 14:40:25 +0300 |
commit | ccfb2af8bfa32ae71d015af76e8455e77cc0bed6 (patch) | |
tree | 0b611a7367f6e73c8e2300e425bc6e6c74501810 | |
parent | 648fc9d7949c88a6ebaaf110289b8b4536bb9a16 (diff) | |
download | ydb-ccfb2af8bfa32ae71d015af76e8455e77cc0bed6.tar.gz |
remove mkql allocator from some grace join containers
-rw-r--r-- | ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp | 2 | ||||
-rw-r--r-- | ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp b/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp index 5a5274aa14..a35ac09c7d 100644 --- a/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp +++ b/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp @@ -146,7 +146,7 @@ void TTable::ResetIterator() { } // Checks if there are more tuples and sets bucketId and tupleId to next valid. -inline bool HasMoreTuples(std::vector<TTableBucket, TMKQLAllocator<TTableBucket>> & tableBuckets, ui64 & bucketId, ui64 & tupleId ) { +inline bool HasMoreTuples(std::vector<TTableBucket> & tableBuckets, ui64 & bucketId, ui64 & tupleId ) { if (bucketId >= tableBuckets.size()) return false; diff --git a/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.h b/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.h index 80b5b65b62..edb45a55ed 100644 --- a/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.h +++ b/ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.h @@ -104,16 +104,16 @@ class TTable { ui64 BytesInKeyIntColumns = sizeof(ui64) * NumberOfKeyIntColumns; // Table data is partitioned in buckets based on key value - std::vector<TTableBucket, TMKQLAllocator<TTableBucket>> TableBuckets; + std::vector<TTableBucket> TableBuckets; // Temporary vector for tuples manipulation; - std::vector<ui64, TMKQLAllocator<ui64>> TempTuple; + std::vector<ui64> TempTuple; // Hashes for interface - based columns values - std::vector<ui64, TMKQLAllocator<ui64>> IColumnsHashes; + std::vector<ui64> IColumnsHashes; // Serialized values for interface-based columns - std::vector<std::vector<char, TMKQLAllocator<char>>, TMKQLAllocator<std::vector<char, TMKQLAllocator<char>>>> IColumnsVals; + std::vector<std::vector<char>> IColumnsVals; // Current iterator index for NextTuple iterator ui64 CurrIterIndex = 0; |