Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: srlch <[email protected]>
  • Loading branch information
srlch committed Dec 31, 2024
1 parent 7ab83ad commit 1d89c5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ Status SchemaClusterSnapshotJobsScanner::_fill_chunk(ChunkPtr* chunk) {
auto& slot_id_map = (*chunk)->get_slot_id_to_index_map();
const TClusterSnapshotJobsItem& info = _result.items[_index];
DatumArray datum_array{
Slice(info.snapshot_name), info.job_id,
info.created_time, info.finished_time,
Slice(info.state), Slice(info.detail_info),
Slice(info.snapshot_name), info.job_id, info.created_time,
info.finished_time, Slice(info.state), Slice(info.detail_info),
Slice(info.error_message),
};
for (const auto& [slot_id, index] : slot_id_map) {
Expand Down
7 changes: 4 additions & 3 deletions be/src/exec/schema_scanner/schema_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,14 @@ Status SchemaHelper::get_analyze_status(const SchemaScannerState& state, const T
Status SchemaHelper::get_cluster_snapshots_info(const SchemaScannerState& state, const TClusterSnapshotsRequest& req,
TClusterSnapshotsResponse* res) {
return _call_rpc(state,
[&req, &res](FrontendServiceConnection& client) { client->getClusterSnapshotsInfo(*res, req); });
[&req, &res](FrontendServiceConnection& client) { client->getClusterSnapshotsInfo(*res, req); });
}

Status SchemaHelper::get_cluster_snapshot_jobs_info(const SchemaScannerState& state, const TClusterSnapshotJobsRequest& req,
Status SchemaHelper::get_cluster_snapshot_jobs_info(const SchemaScannerState& state,
const TClusterSnapshotJobsRequest& req,
TClusterSnapshotJobsResponse* res) {
return _call_rpc(
state, [&req, &res](FrontendServiceConnection& client) { client->getClusterSnapshotJobsInfo(*res, req); });
state, [&req, &res](FrontendServiceConnection& client) { client->getClusterSnapshotJobsInfo(*res, req); });
}

void fill_data_column_with_null(Column* data_column) {
Expand Down

0 comments on commit 1d89c5b

Please sign in to comment.