summaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp
diff options
context:
space:
mode:
authoratarasov5 <[email protected]>2025-07-10 15:30:05 +0300
committeratarasov5 <[email protected]>2025-07-10 15:51:42 +0300
commit5ce6e1b18f1023a06b261707a585835825e612f9 (patch)
treee60cbc5135a27d0b684931015e2fc1e8d588f908 /yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp
parentfb7f6895a3d8244444609433b725d603dca23631 (diff)
YQL-20102: Enable debug arrow validation
В данном PR включена поддержка валидации Datum'ов на соответствие `MKQL type <-> arrow type <-> arrow array data structure.` Выявленные проблемы: 1\. `AllocateResizableBuffer(size_t size)` возвращает массив длины 0 вместо size. Поэтому есть ошибка в работе с датами в некоторых нодах commit_hash:122f2bd114dec50993131391a3793d9540877cb4
Diffstat (limited to 'yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp')
-rw-r--r--yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp b/yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp
index 50f5ebf151d..3977655154e 100644
--- a/yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp
+++ b/yql/essentials/minikql/comp_nodes/mkql_block_coalesce.cpp
@@ -271,7 +271,7 @@ IComputationNode* WrapBlockCoalesce(TCallable& callable, const TComputationNodeF
TVector<TType*> argsTypes = {firstType, secondType};
auto kernel = MakeBlockCoalesceKernel(argsTypes, secondType, needUnwrapFirst);
- return new TBlockFuncNode(ctx.Mutables, "Coalesce", std::move(argsNodes), argsTypes, *kernel, kernel);
+ return new TBlockFuncNode(ctx.Mutables, ToDatumValidateMode(ctx.ValidateMode), "Coalesce", std::move(argsNodes), argsTypes, callable.GetType()->GetReturnType(), *kernel, kernel);
}
} // namespace NKikimr::NMiniKQL