MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / ParseTsCol

Method ParseTsCol

src/codec/sdk_codec.cc:84–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void 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
99void SDKCodec::ParseAddedColumnDesc(const Schema& column_desc) {
100 if (format_version_ == 1) {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected