Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
vitstn committed Oct 22, 2024
1 parent 8f4fe7a commit f42f958
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions ydb/library/yql/core/ut/yql_expr_constraint_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ Y_UNIT_TEST_SUITE(TYqlExprConstraints) {
auto ytGateway = CreateYtFileGateway(yqlNativeServices);
auto typeAnnotationContext = MakeIntrusive<TTypeAnnotationContext>();
typeAnnotationContext->RandomProvider = CreateDeterministicRandomProvider(1);
auto ytState = MakeIntrusive<TYtState>();
auto ytState = MakeIntrusive<TYtState>(typeAnnotationContext.Get());
ytState->Gateway = ytGateway;
ytState->Types = typeAnnotationContext.Get();

InitializeYtGateway(ytGateway, ytState);
typeAnnotationContext->AddDataSink(YtProviderName, CreateYtDataSink(ytState));
Expand Down
3 changes: 1 addition & 2 deletions ydb/library/yql/core/ut/yql_expr_discover_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ Y_UNIT_TEST_SUITE(TDiscoverYqlExpr) {
auto ytGateway = CreateYtFileGateway(yqlNativeServices);
auto typeAnnotationContext = MakeIntrusive<TTypeAnnotationContext>();
typeAnnotationContext->DiscoveryMode = true;
auto ytState = MakeIntrusive<TYtState>();
auto ytState = MakeIntrusive<TYtState>(typeAnnotationContext.Get());
ytState->Gateway = ytGateway;
ytState->Types = typeAnnotationContext.Get();

InitializeYtGateway(ytGateway, ytState);
auto randomProvider = CreateDeterministicRandomProvider(1);
Expand Down
3 changes: 1 addition & 2 deletions ydb/library/yql/core/ut/yql_expr_optimize_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,8 @@ Y_UNIT_TEST_SUITE(TOptimizeYqlExpr) {
auto yqlNativeServices = NFile::TYtFileServices::Make(functionRegistry.Get(), testTables);
auto ytGateway = CreateYtFileGateway(yqlNativeServices);
auto typeAnnotationContext = MakeIntrusive<TTypeAnnotationContext>();
auto ytState = MakeIntrusive<TYtState>();
auto ytState = MakeIntrusive<TYtState>(typeAnnotationContext.Get());
ytState->Gateway = ytGateway;
ytState->Types = typeAnnotationContext.Get();

InitializeYtGateway(ytGateway, ytState);
auto randomProvider = CreateDeterministicRandomProvider(1);
Expand Down
3 changes: 1 addition & 2 deletions ydb/library/yql/core/ut/yql_expr_providers_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ Y_UNIT_TEST_SUITE(TCompileWithProvidersYqlExpr) {
auto yqlNativeServices = NFile::TYtFileServices::Make(functionRegistry.Get(), testTables);
auto ytGateway = CreateYtFileGateway(yqlNativeServices);
auto typeAnnotationContext = MakeIntrusive<TTypeAnnotationContext>();
auto ytState = MakeIntrusive<TYtState>();
auto ytState = MakeIntrusive<TYtState>(typeAnnotationContext.Get());
ytState->Gateway = ytGateway;
ytState->Types = typeAnnotationContext.Get();

InitializeYtGateway(ytGateway, ytState);
typeAnnotationContext->AddDataSink(YtProviderName, CreateYtDataSink(ytState));
Expand Down

0 comments on commit f42f958

Please sign in to comment.