Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 01f4ed0

Browse files
authored
Merge pull request #28 from acompany-develop/feature/takahashi/fix_result_format
Restore the result to its original format
2 parents b0ed6c8 + c6d265c commit 01f4ed0

10 files changed

Lines changed: 235 additions & 123 deletions

File tree

quickmpc/proto/libc_to_manage.proto

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,24 @@ message GetComputationResultRequest {
117117
message GetComputationResultResponse {
118118
string message = 1;
119119
bool is_ok = 2;
120-
string result = 3;
121-
pb_common_types.JobStatus status = 4;
122-
int32 piece_id = 5;
123-
optional pb_common_types.JobProgress progress = 6;
120+
repeated string result = 3;
121+
int32 column_number = 4;
122+
pb_common_types.JobStatus status = 5;
123+
int32 piece_id = 6;
124+
optional pb_common_types.JobProgress progress = 7;
125+
oneof result_type{
126+
bool is_dim1 = 8;
127+
bool is_dim2 = 9;
128+
bool is_schema = 10;
129+
}
124130
}
125131

126132
/**
127133
* the message of SendModelParamRequest
128134
*/
129135
message SendModelParamRequest {
130136
string job_uuid = 1;
131-
string params = 2;
137+
repeated string params = 2;
132138
int32 piece_id = 3;
133139
string token = 4;
134140
}

quickmpc/proto/libc_to_manage_pb2.py

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)