Skip to content

Commit

Permalink
remove minikql exec command (#13325)
Browse files Browse the repository at this point in the history
  • Loading branch information
gridnevvvit authored Jan 16, 2025
1 parent f5afb2f commit 32f057a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 184 deletions.
9 changes: 0 additions & 9 deletions ydb/core/driver_lib/cli_utils/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
namespace NKikimr {
namespace NDriverClient {

void DumpProxyErrorCodes(IOutputStream &o, const NKikimrClient::TResponse &response) {
o << "status: " << response.GetStatus() << Endl;
o << "status transcript: " << static_cast<NMsgBusProxy::EResponseStatus>(response.GetStatus()) << Endl;
if (response.HasProxyErrorCode()) {
o << "proxy error code: " << response.GetProxyErrorCode() << Endl;
o << "proxy error code transcript: " << static_cast<TEvTxUserProxy::TEvProposeTransactionStatus::EStatus>(response.GetProxyErrorCode()) << Endl;
}
}

void HideOptions(NLastGetopt::TOpts& opts, const TString& prefix) {
for (auto opt : opts.Opts_) {
if (opt.Get()->GetName().StartsWith(prefix)) {
Expand Down
5 changes: 0 additions & 5 deletions ydb/core/driver_lib/cli_utils/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@
namespace NKikimr {

namespace NDriverClient {

void DumpProxyErrorCodes(IOutputStream &o, const NKikimrClient::TResponse &response);
void DumpSchemeErrorCode(IOutputStream &o, const NKikimrClient::TResponse &response);

int SchemeInitRoot(TCommandConfig &cmdConf, int argc, char** argv);
int CompileAndExecMiniKQL(TCommandConfig &cmdConf, int argc, char **argv);
int KeyValueRequest(TCommandConfig &cmdConf, int argc, char **argv);
int PersQueueRequest(TCommandConfig &cmdConf, int argc, char **argv);
int PersQueueStress(TCommandConfig &cmdConf, int argc, char **argv);
Expand Down
166 changes: 0 additions & 166 deletions ydb/core/driver_lib/cli_utils/cli_minikql_compile_and_exec.cpp

This file was deleted.

1 change: 0 additions & 1 deletion ydb/core/driver_lib/cli_utils/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ SRCS(
cli_persqueue.cpp
cli_persqueue_cluster_discovery.cpp
cli_persqueue_stress.cpp
cli_minikql_compile_and_exec.cpp
cli_scheme_cache_append.cpp
cli_scheme_initroot.cpp
melancholic_gopher.cpp
Expand Down
1 change: 0 additions & 1 deletion ydb/core/driver_lib/run/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ namespace NKikimr {
XX(EDM_FORMAT_UTIL, "format-util", "query blob storage format configuration file") \
XX(EDM_NODE_BY_HOST, "node-by-host", "get node id by hostname") \
XX(EDM_SCHEME_INITROOT, "scheme-initroot", "init scheme root") \
XX(EDM_COMPILE_AND_EXEC_MINIKQL, "minikql-exec", "compile and execute MiniKQL program") \
XX(EDM_KEYVALUE_REQUEST, "keyvalue-request", "send protobuf request to a keyvalue tablet") \
XX(EDM_PERSQUEUE_REQUEST, "persqueue-request", "send protobuf request to a persqueue tablet") \
XX(EDM_PERSQUEUE_STRESS, "persqueue-stress", "stress read or write to a persqueue tablet") \
Expand Down
2 changes: 0 additions & 2 deletions ydb/core/driver_lib/run/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ int MainRun(const TKikimrRunConfig& runConfig, std::shared_ptr<TModuleFactories>
return MainNodeByHost(cmdConf, argc, argv);
case EDM_SCHEME_INITROOT:
return NDriverClient::SchemeInitRoot(cmdConf, argc, argv);
case EDM_COMPILE_AND_EXEC_MINIKQL:
return NDriverClient::CompileAndExecMiniKQL(cmdConf, argc, argv);
case EDM_PERSQUEUE_REQUEST:
return NDriverClient::PersQueueRequest(cmdConf, argc, argv);
case EDM_PERSQUEUE_STRESS:
Expand Down

0 comments on commit 32f057a

Please sign in to comment.