Skip to content

Commit 938db49

Browse files
authored
Mark SystemPython udfs for remote execution (#7422)
1 parent 8e61680 commit 938db49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/library/yql/providers/yt/gateway/native/yql_yt_transform.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ TCallableVisitFunc TGatewayTransformer::operator()(TInternName name) {
328328
!ExecCtx_.FunctionRegistry_->IsLoadedUdfModule(moduleName) ||
329329
moduleName == TStringBuf("Geo");
330330

331+
if (moduleName.StartsWith("SystemPython")) {
332+
*RemoteExecutionFlag_ = true;
333+
}
334+
331335
const auto udfPath = FindUdfPath(moduleName);
332336
if (!udfPath.StartsWith(NMiniKQL::StaticModulePrefix)) {
333337
const auto fileInfo = ExecCtx_.UserFiles_->GetFile(udfPath);

0 commit comments

Comments
 (0)