Skip to content

Commit f6bd3e0

Browse files
authored
Merge 746d6d3 into a59b48a
2 parents a59b48a + 746d6d3 commit f6bd3e0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ydb/public/lib/ydb_cli/commands/click_bench.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,23 +575,23 @@ void TClickBenchCommandRun::Config(TConfig& config) {
575575

576576
config.Opts->MutuallyExclusiveOpt(includeOpt, excludeOpt);
577577

578-
config.Opts->AddLongOption("executor", "Query executor type."
578+
config.Opts->AddLongOption("executer", "Query executer type."
579579
" Options: scan, generic\n"
580580
"scan - use scan queries;\n"
581581
"generic - use generic queries.")
582-
.DefaultValue("scan").StoreResult(&QueryExecutorType);
582+
.DefaultValue("scan").StoreResult(&QueryExecuterType);
583583
};
584584

585585

586586
int TClickBenchCommandRun::Run(TConfig& config) {
587-
if (QueryExecutorType == "scan") {
587+
if (QueryExecuterType == "scan") {
588588
const bool okay = RunBench<NYdb::NTable::TTableClient>(config);
589589
return !okay;
590-
} else if (QueryExecutorType == "generic") {
590+
} else if (QueryExecuterType == "generic") {
591591
const bool okay = RunBench<NYdb::NQuery::TQueryClient>(config);
592592
return !okay;
593593
} else {
594-
ythrow yexception() << "Incorrect executor type. Available options: \"scan\", \"generic\"." << Endl;
594+
ythrow yexception() << "Incorrect executer type. Available options: \"scan\", \"generic\"." << Endl;
595595
}
596596
};
597597

ydb/public/lib/ydb_cli/commands/tpch.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,23 +421,23 @@ void TTpchCommandRun::Config(TConfig& config) {
421421

422422
config.Opts->MutuallyExclusiveOpt(includeOpt, excludeOpt);
423423

424-
config.Opts->AddLongOption("executor", "Query executor type."
424+
config.Opts->AddLongOption("executer", "Query executer type."
425425
" Options: scan, generic\n"
426426
"scan - use scan queries;\n"
427427
"generic - use generic queries.")
428-
.DefaultValue("scan").StoreResult(&QueryExecutorType);
428+
.DefaultValue("scan").StoreResult(&QueryExecuterType);
429429
};
430430

431431

432432
int TTpchCommandRun::Run(TConfig& config) {
433-
if (QueryExecutorType == "scan") {
433+
if (QueryExecuterType == "scan") {
434434
const bool okay = RunBench<NYdb::NTable::TTableClient>(config);
435435
return !okay;
436-
} else if (QueryExecutorType == "generic") {
436+
} else if (QueryExecuterType == "generic") {
437437
const bool okay = RunBench<NYdb::NQuery::TQueryClient>(config);
438438
return !okay;
439439
} else {
440-
ythrow yexception() << "Incorrect executor type. Available options: \"scan\", \"generic\"." << Endl;
440+
ythrow yexception() << "Incorrect executer type. Available options: \"scan\", \"generic\"." << Endl;
441441
}
442442
};
443443

0 commit comments

Comments
 (0)