| 965 | } |
| 966 | |
| 967 | void GetTableKeyRange(const std::string& table_name, const TabletMetaList& tablet_list, |
| 968 | std::vector<std::string>* delimiters) { |
| 969 | for (int32_t i = 0; i < tablet_list.meta_size(); i++) { |
| 970 | const tera::TabletMeta& meta = tablet_list.meta(i); |
| 971 | if (table_name == meta.table_name() && meta.key_range().key_start().size() > 0) { |
| 972 | delimiters->push_back(meta.key_range().key_start()); |
| 973 | } |
| 974 | } |
| 975 | } |
| 976 | |
| 977 | int ManualCreateTable(std::shared_ptr<tera::ClientImpl> client, const std::string& table_name, |
| 978 | const TableSchema& schema, const std::vector<std::string>& delimiters) { |
no test coverage detected