Skip to content

Commit 32f057a

Browse files
authored
remove minikql exec command (#13325)
1 parent f5afb2f commit 32f057a

File tree

6 files changed

+0
-184
lines changed

6 files changed

+0
-184
lines changed

ydb/core/driver_lib/cli_utils/cli.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
namespace NKikimr {
55
namespace NDriverClient {
66

7-
void DumpProxyErrorCodes(IOutputStream &o, const NKikimrClient::TResponse &response) {
8-
o << "status: " << response.GetStatus() << Endl;
9-
o << "status transcript: " << static_cast<NMsgBusProxy::EResponseStatus>(response.GetStatus()) << Endl;
10-
if (response.HasProxyErrorCode()) {
11-
o << "proxy error code: " << response.GetProxyErrorCode() << Endl;
12-
o << "proxy error code transcript: " << static_cast<TEvTxUserProxy::TEvProposeTransactionStatus::EStatus>(response.GetProxyErrorCode()) << Endl;
13-
}
14-
}
15-
167
void HideOptions(NLastGetopt::TOpts& opts, const TString& prefix) {
178
for (auto opt : opts.Opts_) {
189
if (opt.Get()->GetName().StartsWith(prefix)) {

ydb/core/driver_lib/cli_utils/cli.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@
2222
namespace NKikimr {
2323

2424
namespace NDriverClient {
25-
26-
void DumpProxyErrorCodes(IOutputStream &o, const NKikimrClient::TResponse &response);
27-
void DumpSchemeErrorCode(IOutputStream &o, const NKikimrClient::TResponse &response);
28-
2925
int SchemeInitRoot(TCommandConfig &cmdConf, int argc, char** argv);
30-
int CompileAndExecMiniKQL(TCommandConfig &cmdConf, int argc, char **argv);
3126
int KeyValueRequest(TCommandConfig &cmdConf, int argc, char **argv);
3227
int PersQueueRequest(TCommandConfig &cmdConf, int argc, char **argv);
3328
int PersQueueStress(TCommandConfig &cmdConf, int argc, char **argv);

ydb/core/driver_lib/cli_utils/cli_minikql_compile_and_exec.cpp

Lines changed: 0 additions & 166 deletions
This file was deleted.

ydb/core/driver_lib/cli_utils/ya.make

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ SRCS(
2525
cli_persqueue.cpp
2626
cli_persqueue_cluster_discovery.cpp
2727
cli_persqueue_stress.cpp
28-
cli_minikql_compile_and_exec.cpp
2928
cli_scheme_cache_append.cpp
3029
cli_scheme_initroot.cpp
3130
melancholic_gopher.cpp

ydb/core/driver_lib/run/driver.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ namespace NKikimr {
3030
XX(EDM_FORMAT_UTIL, "format-util", "query blob storage format configuration file") \
3131
XX(EDM_NODE_BY_HOST, "node-by-host", "get node id by hostname") \
3232
XX(EDM_SCHEME_INITROOT, "scheme-initroot", "init scheme root") \
33-
XX(EDM_COMPILE_AND_EXEC_MINIKQL, "minikql-exec", "compile and execute MiniKQL program") \
3433
XX(EDM_KEYVALUE_REQUEST, "keyvalue-request", "send protobuf request to a keyvalue tablet") \
3534
XX(EDM_PERSQUEUE_REQUEST, "persqueue-request", "send protobuf request to a persqueue tablet") \
3635
XX(EDM_PERSQUEUE_STRESS, "persqueue-stress", "stress read or write to a persqueue tablet") \

ydb/core/driver_lib/run/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ int MainRun(const TKikimrRunConfig& runConfig, std::shared_ptr<TModuleFactories>
154154
return MainNodeByHost(cmdConf, argc, argv);
155155
case EDM_SCHEME_INITROOT:
156156
return NDriverClient::SchemeInitRoot(cmdConf, argc, argv);
157-
case EDM_COMPILE_AND_EXEC_MINIKQL:
158-
return NDriverClient::CompileAndExecMiniKQL(cmdConf, argc, argv);
159157
case EDM_PERSQUEUE_REQUEST:
160158
return NDriverClient::PersQueueRequest(cmdConf, argc, argv);
161159
case EDM_PERSQUEUE_STRESS:

0 commit comments

Comments
 (0)