chore: add json type (#194)

This commit is contained in:
Weny Xu
2024-10-30 04:12:24 +08:00
committed by GitHub
parent fc45ac4cce
commit 86ed051dfd
5 changed files with 39 additions and 22 deletions
+2 -1
View File
@@ -191,12 +191,13 @@ enum ColumnDataType : int {
INTERVAL_DAY_TIME = 24,
INTERVAL_MONTH_DAY_NANO = 25,
DECIMAL128 = 30,
JSON = 31,
ColumnDataType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
ColumnDataType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
};
bool ColumnDataType_IsValid(int value);
constexpr ColumnDataType ColumnDataType_MIN = BOOLEAN;
constexpr ColumnDataType ColumnDataType_MAX = DECIMAL128;
constexpr ColumnDataType ColumnDataType_MAX = JSON;
constexpr int ColumnDataType_ARRAYSIZE = ColumnDataType_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ColumnDataType_descriptor();