diff options
| author | stanislav_shchetinin <[email protected]> | 2025-05-20 18:53:09 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-20 15:53:09 +0000 |
| commit | a8ecf2457940aedfbaf9cc65fa4922c696114a43 (patch) | |
| tree | 3652cffa157063833fa88149b93201defe4f95b1 | |
| parent | 8ee13c986a7fb2dc2347bebf69257de79330c4b6 (diff) | |
Use ydb/public/lib/ydb_cli/dump/files in import s3 (#18564)
| -rw-r--r-- | ydb/core/tx/schemeshard/schemeshard_export_uploaders.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ydb/core/tx/schemeshard/schemeshard_export_uploaders.cpp b/ydb/core/tx/schemeshard/schemeshard_export_uploaders.cpp index f2e3e28db0e..b3510f1a8e2 100644 --- a/ydb/core/tx/schemeshard/schemeshard_export_uploaders.cpp +++ b/ydb/core/tx/schemeshard/schemeshard_export_uploaders.cpp @@ -13,6 +13,7 @@ #include <ydb/library/actors/core/actor_bootstrapped.h> #include <ydb/library/actors/core/hfunc.h> #include <ydb/public/api/protos/ydb_export.pb.h> +#include <ydb/public/lib/ydb_cli/dump/files/files.h> #include <ydb/public/lib/ydb_cli/dump/util/view_utils.h> #include <ydb/public/sdk/cpp/include/ydb-cpp-sdk/client/topic/control_plane.h> @@ -73,8 +74,8 @@ class TSchemeUploader: public TActorBootstrapped<TSchemeUploader> { bool BuildSchemeToUpload(const NKikimrScheme::TEvDescribeSchemeResult& describeResult, TString& error) { static THashMap<NKikimrSchemeOp::EPathType, TString> TypeToFileName = { - {NKikimrSchemeOp::EPathType::EPathTypeView, "create_view.sql"}, - {NKikimrSchemeOp::EPathType::EPathTypePersQueueGroup, "create_topic.pb"}, + {NKikimrSchemeOp::EPathType::EPathTypeView, NYdb::NDump::NFiles::CreateView().FileName}, + {NKikimrSchemeOp::EPathType::EPathTypePersQueueGroup, NYdb::NDump::NFiles::CreateTopic().FileName}, }; PathType = describeResult.GetPathDescription().GetSelf().GetPathType(); |
