aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvvvv <vvvv@ydb.tech>2023-07-24 16:08:05 +0300
committervvvv <vvvv@ydb.tech>2023-07-24 16:08:05 +0300
commita373df167843da88b64bb8dfbf7c78b7b395847a (patch)
tree6318121e07aad32be425c867fb8b53d1a996bd27
parent31939fb829d7b341d52b952010891ebf2e1eb806 (diff)
downloadydb-a373df167843da88b64bb8dfbf7c78b7b395847a.tar.gz
Enable thread-safe mode for immutable nodes in pattern
-rw-r--r--ydb/library/yql/core/arrow_kernels/registry/registry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/library/yql/core/arrow_kernels/registry/registry.cpp b/ydb/library/yql/core/arrow_kernels/registry/registry.cpp
index 5b4d36db25..bfa4754473 100644
--- a/ydb/library/yql/core/arrow_kernels/registry/registry.cpp
+++ b/ydb/library/yql/core/arrow_kernels/registry/registry.cpp
@@ -37,6 +37,7 @@ namespace {
}
}
+ Alloc_.Ref().UseRefLocking = true;
Pattern_ = NKikimr::NMiniKQL::MakeComputationPattern(Explorer_, Pgm_, entryPoints, opts);
RandomProvider_ = CreateDefaultRandomProvider();
TimeProvider_ = CreateDefaultTimeProvider();