Skip to content

YQ-4148 fix build in import branch #15325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ydb/library/yql/dq/transform/yql_common_dq_transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class TCommonDqTaskTransform {
};

TTaskTransformFactory CreateCommonDqTaskTransformFactory() {
return [] (const THashMap<TString, TString>& taskParams, const IFunctionRegistry* funcRegistry) -> TCallableVisitFuncProvider {
Y_UNUSED(taskParams);
return [] (const TTaskTransformArguments& args, const IFunctionRegistry* funcRegistry) -> TCallableVisitFuncProvider {
Y_UNUSED(args);
return TCommonDqTaskTransform(*funcRegistry);
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ class TTaskCommandExecutor {
}
settings.OptLLVM = DqConfiguration->OptLLVM.Get().GetOrElse("");

Ctx.FuncProvider = TaskTransformFactory(taskParams, Ctx.FuncRegistry);
Ctx.FuncProvider = TaskTransformFactory({taskParams, settings.ReadRanges}, Ctx.FuncRegistry);

Y_ABORT_UNLESS(!Alloc);
Y_ABORT_UNLESS(FunctionRegistry);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class TLocalFactory: public IProxyFactory {
YQL_CLOG(DEBUG, ProviderDq) << message;
};
}
ctx.FuncProvider = TaskTransformFactory(settings.TaskParams, ctx.FuncRegistry);
ctx.FuncProvider = TaskTransformFactory({settings.TaskParams, settings.ReadRanges}, ctx.FuncRegistry);
return MakeDqTaskRunner(alloc, ctx, settings, logger);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class TYdbDqTaskTransform {
};

TTaskTransformFactory CreateYdbDqTaskTransformFactory() {
return [] (const THashMap<TString, TString>& taskParams, const IFunctionRegistry* funcRegistry) -> TCallableVisitFuncProvider {
return TYdbDqTaskTransform(taskParams, *funcRegistry);
return [] (const TTaskTransformArguments& args, const IFunctionRegistry* funcRegistry) -> TCallableVisitFuncProvider {
return TYdbDqTaskTransform(args.TaskParams, *funcRegistry);
};
}

Expand Down