HTHou commented on code in PR #304:
URL: https://github.com/apache/tsfile/pull/304#discussion_r1847550683
##########
cpp/src/common/row_record.h:
##########
@@ -86,9 +86,31 @@ struct Field {
}
}
+ template <typename T>
+ FORCE_INLINE T get_value() {
+ switch (type_) {
+ case common::TSDataType::BOOLEAN:
+ return value_.bval_;
+ case common::TSDataType::INT32:
+ return value_.ival_;
+ case common::TSDataType::INT64:
+ return value_.lval_;
+ case common::TSDataType::FLOAT:
+ return value_.fval_;
+ case common::TSDataType::DOUBLE:
+ return value_.dval_;
+ // case common::TSDataType::TEXT :
+ // return value_.sval_;
Review Comment:
Why do you comment TEXT?
--
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]