ColinLeeo commented on code in PR #418:
URL: https://github.com/apache/tsfile/pull/418#discussion_r1973091829
##########
cpp/src/writer/tsfile_writer.cc:
##########
@@ -281,6 +281,31 @@ struct MeasurementNamesFromTablet {
}
};
+int TsFileWriter::do_check_and_prepare_tablet(Tablet &tablet) {
+ if (tablet.column_categories_.empty()) {
+ auto &schema_map = io_writer_->get_schema()->table_schema_map_;
+ auto table_schema_it = schema_map.find(tablet.get_table_name());
+ auto table_schema = table_schema_it->second;
+ uint32_t column_cnt = tablet.get_column_count();
+ for (uint32_t i = 0; i < column_cnt; i++) {
+ for (uint32_t i = 0; i < column_cnt; i++) {
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]