File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -35,30 +35,6 @@ namespace openmldb::sdk {
3535
3636typedef std::shared_ptr<std::map<uint32_t , std::shared_ptr<::hybridse::node::ConstNode>>> DefaultValueMap;
3737
38- static inline ::hybridse::sdk::DataType ConvertType (::openmldb::type::DataType type) {
39- switch (type) {
40- case openmldb::type::kBool :
41- return ::hybridse::sdk::kTypeBool ;
42- case openmldb::type::kSmallInt :
43- return ::hybridse::sdk::kTypeInt16 ;
44- case openmldb::type::kInt :
45- return ::hybridse::sdk::kTypeInt32 ;
46- case openmldb::type::kBigInt :
47- return ::hybridse::sdk::kTypeInt64 ;
48- case openmldb::type::kFloat :
49- return ::hybridse::sdk::kTypeFloat ;
50- case openmldb::type::kDouble :
51- return ::hybridse::sdk::kTypeDouble ;
52- case openmldb::type::kTimestamp :
53- return ::hybridse::sdk::kTypeTimestamp ;
54- case openmldb::type::kString :
55- case openmldb::type::kVarchar :
56- return ::hybridse::sdk::kTypeString ;
57- default :
58- return ::hybridse::sdk::kTypeUnknow ;
59- }
60- }
61-
6238class SQLInsertRow {
6339 public:
6440 SQLInsertRow (std::shared_ptr<::openmldb::nameserver::TableInfo> table_info,
You can’t perform that action at this time.
0 commit comments