aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneporada <aneporada@ydb.tech>2023-07-31 14:35:01 +0300
committeraneporada <aneporada@ydb.tech>2023-07-31 14:35:01 +0300
commit9bbcd177ac4e252c98c6382a8b88237da248bace (patch)
tree3a5e4d4939598d62cdb9d19b4db78767d64cc4d9
parent0937ddfa4bad00b305722ca861f250bfba4be959 (diff)
downloadydb-9bbcd177ac4e252c98c6382a8b88237da248bace.tar.gz
Switch to default arrow memory pool
Current memory pool is broken when buffers are passed between different computation graphs (pragma dq.UseWideBlockChannels)
-rw-r--r--ydb/library/yql/minikql/computation/mkql_computation_node_graph.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/library/yql/minikql/computation/mkql_computation_node_graph.cpp b/ydb/library/yql/minikql/computation/mkql_computation_node_graph.cpp
index eb4bee4802..43b2e4bb2c 100644
--- a/ydb/library/yql/minikql/computation/mkql_computation_node_graph.cpp
+++ b/ydb/library/yql/minikql/computation/mkql_computation_node_graph.cpp
@@ -596,7 +596,9 @@ public:
ValueBuilder.Get(),
CompOpts,
PatternNodes->GetMutables(),
- *ArrowMemoryPool));
+ //*ArrowMemoryPool
+ *arrow::default_memory_pool()
+ ));
ValueBuilder->SetCalleePositionHolder(Ctx->CalleePosition);
for (auto& node : PatternNodes->GetNodes()) {
node->InitNode(*Ctx);