Skip to content

Commit

Permalink
KqpRun sync stable version with main (ydb-platform#6671)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA authored and uzhastik committed Sep 9, 2024
1 parent c4ee52b commit c7248de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/tests/tools/kqprun/kqprun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ void RunArgumentQueries(const TExecutionOptions& executionOptions, NKqpRun::TKqp
if (!runner.ExecuteQuery(executionOptions.ScriptQueries[id], executionOptions.ScriptQueryAction, executionOptions.TraceId)) {
ythrow yexception() << TInstant::Now().ToIsoStringLocal() << " Query execution failed";
}
Cout << colors.Cyan() << "Generic request finished. Time: " << TInstant::Now() - startTime << colors.Default() << Endl;
break;

case TExecutionOptions::EExecutionCase::YqlScript:
if (!runner.ExecuteYqlScript(executionOptions.ScriptQueries[id], executionOptions.ScriptQueryAction, executionOptions.TraceId)) {
ythrow yexception() << TInstant::Now().ToIsoStringLocal() << " Yql script execution failed";
}
Cout << colors.Cyan() << "Yql script request finished. Time: " << TInstant::Now() - startTime << colors.Default() << Endl;
break;

case TExecutionOptions::EExecutionCase::AsyncQuery:
Expand Down
2 changes: 2 additions & 0 deletions ydb/tests/tools/kqprun/src/actors.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <ydb/core/kqp/common/events/events.h>
#include <ydb/core/kqp/executer_actor/kqp_executer.h>

Expand Down

0 comments on commit c7248de

Please sign in to comment.