Skip to content

Commit

Permalink
feat: add json type proto
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Aug 23, 2024
1 parent c437b55 commit 4346f48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/greptime/v1/column.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ message Column {
repeated int64 interval_day_time_values = 25;
repeated IntervalMonthDayNano interval_month_day_nano_values = 26;
repeated Decimal128 decimal128_values = 31;
repeated bytes json_values = 32;
}
// The array of non-null values in this column.
//
Expand Down
1 change: 1 addition & 0 deletions proto/greptime/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ enum ColumnDataType {
INTERVAL_DAY_TIME = 24;
INTERVAL_MONTH_DAY_NANO = 25;
DECIMAL128 = 30;
JSON = 31;
}

message IntervalMonthDayNano {
Expand Down
1 change: 1 addition & 0 deletions proto/greptime/v1/row.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ message Value {
int64 interval_day_time_value = 25;
IntervalMonthDayNano interval_month_day_nano_value = 26;
Decimal128 decimal128_value = 31;
bytes json_value = 32;
}
}

0 comments on commit 4346f48

Please sign in to comment.