chaoyli commented on a change in pull request #493: Make tablet and tablet_meta can be compiled URL: https://github.com/apache/incubator-doris/pull/493#discussion_r244917956
########## File path: be/src/tools/meta_tool.cpp ########## @@ -157,7 +158,9 @@ int main(int argc, char** argv) { std::string json_header; json2pb::Pb2JsonOptions json_options; json_options.pretty_json = true; - json2pb::ProtoMessageToJson(header, &json_header, json_options); + TabletMetaPB tablet_meta_pb; + header.to_tablet_pb(&tablet_meta_pb); + json2pb::ProtoMessageToJson(tablet_meta_pb, &json_header, json_options); Review comment: OK, I will fixed it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org