diff options
author | ssmike <ssmike@ydb.tech> | 2022-12-13 22:43:25 +0300 |
---|---|---|
committer | ssmike <ssmike@ydb.tech> | 2022-12-13 22:43:25 +0300 |
commit | 2b67c5fc8cc99f623c1fa3ae21ea0b32cb62583d (patch) | |
tree | 6eb6cca59f5346f462a0c3c3b1107c30967c77ee | |
parent | 1a43879c5f8c64404638e6a48714106f427bdc71 (diff) | |
download | ydb-2b67c5fc8cc99f623c1fa3ae21ea0b32cb62583d.tar.gz |
fix allocator in PrunePartitions helper
-rw-r--r-- | ydb/core/kqp/executer_actor/kqp_partition_helper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/kqp/executer_actor/kqp_partition_helper.cpp b/ydb/core/kqp/executer_actor/kqp_partition_helper.cpp index e80a98d5d0..d9b72bfc18 100644 --- a/ydb/core/kqp/executer_actor/kqp_partition_helper.cpp +++ b/ydb/core/kqp/executer_actor/kqp_partition_helper.cpp @@ -591,6 +591,7 @@ THashMap<ui64, TShardInfo> PrunePartitions(const TKqpTableKeys& tableKeys, const NKqpProto::TKqpReadRangesSource& source, const TStageInfo& stageInfo, const NMiniKQL::THolderFactory& holderFactory, const NMiniKQL::TTypeEnvironment& typeEnv) { + auto guard = typeEnv.BindAllocator(); const auto* table = tableKeys.FindTablePtr(stageInfo.Meta.TableId); YQL_ENSURE(table); |