From 0463b64857acb2ccd41a61236e884aee4eb22fe7 Mon Sep 17 00:00:00 2001 From: Grigoriy Pisarenko Date: Sat, 17 Feb 2024 10:03:28 +0000 Subject: [PATCH] Fixed build errors --- ydb/core/testlib/ya.make | 4 ++-- ydb/library/yql/providers/yt/provider/yql_yt_provider.cpp | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ydb/core/testlib/ya.make b/ydb/core/testlib/ya.make index 373d50f65c56..5f3f7aa58928 100644 --- a/ydb/core/testlib/ya.make +++ b/ydb/core/testlib/ya.make @@ -82,8 +82,8 @@ PEERDIR( ydb/library/persqueue/topic_parser ydb/library/security ydb/library/yql/minikql/comp_nodes/llvm14 - contrib/ydb/library/yql/providers/yt/codec/codegen - contrib/ydb/library/yql/providers/yt/comp_nodes/llvm14 + ydb/library/yql/providers/yt/codec/codegen + ydb/library/yql/providers/yt/comp_nodes/llvm14 ydb/library/yql/public/udf/service/exception_policy ydb/public/lib/base ydb/public/lib/deprecated/kicli diff --git a/ydb/library/yql/providers/yt/provider/yql_yt_provider.cpp b/ydb/library/yql/providers/yt/provider/yql_yt_provider.cpp index e030d7f9a75a..3cbcb8d08c8b 100644 --- a/ydb/library/yql/providers/yt/provider/yql_yt_provider.cpp +++ b/ydb/library/yql/providers/yt/provider/yql_yt_provider.cpp @@ -392,7 +392,9 @@ TDataProviderInitializer GetYtNativeDataProviderInitializer(IYtGateway::TPtr gat info.SupportsHidden = true; const TYtGatewayConfig* ytGatewayConfig = gatewaysConfig ? &gatewaysConfig->GetYt() : nullptr; - auto [ytState, statWriter] = CreateYtNativeState(gateway, userName, sessionId, ytGatewayConfig, typeCtx); + TIntrusivePtr ytState; + TStatWriter statWriter; + std::tie(ytState, statWriter) = CreateYtNativeState(gateway, userName, sessionId, ytGatewayConfig, typeCtx); info.Names.insert({TString{YtProviderName}}); info.Source = CreateYtDataSource(ytState);