| 82 | } |
| 83 | |
| 84 | void SDKCodec::ParseTsCol() { |
| 85 | std::set<uint32_t> ts_set; |
| 86 | for (const auto& index : index_) { |
| 87 | if (index.has_ts_name()) { |
| 88 | auto iter = schema_idx_map_.find(index.ts_name()); |
| 89 | if (iter != schema_idx_map_.end()) { |
| 90 | ts_set.insert(iter->second); |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | for (const auto& idx : ts_set) { |
| 95 | ts_idx_.push_back(idx); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | void SDKCodec::ParseAddedColumnDesc(const Schema& column_desc) { |
| 100 | if (format_version_ == 1) { |