-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dummy statistics request and response
- Loading branch information
1 parent
79d328b
commit 6786b7d
Showing
5 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#include "columnshard.h" | ||
#include "columnshard_impl.h" | ||
|
||
#include <ydb/core/protos/kqp.pb.h> | ||
|
||
namespace NKikimr::NColumnShard { | ||
|
||
void TColumnShard::Handle(TEvColumnShard::TEvStatisticsScanRequest::TPtr& ev, const TActorContext& ctx) { | ||
auto response = std::make_unique<TEvDataShard::TEvStatisticsScanResponse>(); | ||
auto& record = response->Record; | ||
record.SetShardTabletId(TabletID()); | ||
|
||
record.SetStatus(NKikimrStat::TEvStatisticsScanResponse::SUCCESS); | ||
|
||
ctx.Send(new IEventHandle(ev->Sender, TActorId(), response.release(), 0, ev->Cookie)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters