File tree 2 files changed +10
-10
lines changed
ydb/public/lib/ydb_cli/commands
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -575,23 +575,23 @@ void TClickBenchCommandRun::Config(TConfig& config) {
575
575
576
576
config.Opts ->MutuallyExclusiveOpt (includeOpt, excludeOpt);
577
577
578
- config.Opts ->AddLongOption (" executor " , " Query executor type."
578
+ config.Opts ->AddLongOption (" executer " , " Query executer type."
579
579
" Options: scan, generic\n "
580
580
" scan - use scan queries;\n "
581
581
" generic - use generic queries." )
582
- .DefaultValue (" scan" ).StoreResult (&QueryExecutorType );
582
+ .DefaultValue (" scan" ).StoreResult (&QueryExecuterType );
583
583
};
584
584
585
585
586
586
int TClickBenchCommandRun::Run (TConfig& config) {
587
- if (QueryExecutorType == " scan" ) {
587
+ if (QueryExecuterType == " scan" ) {
588
588
const bool okay = RunBench<NYdb::NTable::TTableClient>(config);
589
589
return !okay;
590
- } else if (QueryExecutorType == " generic" ) {
590
+ } else if (QueryExecuterType == " generic" ) {
591
591
const bool okay = RunBench<NYdb::NQuery::TQueryClient>(config);
592
592
return !okay;
593
593
} else {
594
- ythrow yexception () << " Incorrect executor type. Available options: \" scan\" , \" generic\" ." << Endl;
594
+ ythrow yexception () << " Incorrect executer type. Available options: \" scan\" , \" generic\" ." << Endl;
595
595
}
596
596
};
597
597
Original file line number Diff line number Diff line change @@ -421,23 +421,23 @@ void TTpchCommandRun::Config(TConfig& config) {
421
421
422
422
config.Opts ->MutuallyExclusiveOpt (includeOpt, excludeOpt);
423
423
424
- config.Opts ->AddLongOption (" executor " , " Query executor type."
424
+ config.Opts ->AddLongOption (" executer " , " Query executer type."
425
425
" Options: scan, generic\n "
426
426
" scan - use scan queries;\n "
427
427
" generic - use generic queries." )
428
- .DefaultValue (" scan" ).StoreResult (&QueryExecutorType );
428
+ .DefaultValue (" scan" ).StoreResult (&QueryExecuterType );
429
429
};
430
430
431
431
432
432
int TTpchCommandRun::Run (TConfig& config) {
433
- if (QueryExecutorType == " scan" ) {
433
+ if (QueryExecuterType == " scan" ) {
434
434
const bool okay = RunBench<NYdb::NTable::TTableClient>(config);
435
435
return !okay;
436
- } else if (QueryExecutorType == " generic" ) {
436
+ } else if (QueryExecuterType == " generic" ) {
437
437
const bool okay = RunBench<NYdb::NQuery::TQueryClient>(config);
438
438
return !okay;
439
439
} else {
440
- ythrow yexception () << " Incorrect executor type. Available options: \" scan\" , \" generic\" ." << Endl;
440
+ ythrow yexception () << " Incorrect executer type. Available options: \" scan\" , \" generic\" ." << Endl;
441
441
}
442
442
};
443
443
You can’t perform that action at this time.
0 commit comments