From 8809fbaa3ffc722cfd2a13e59c675086ba84980b Mon Sep 17 00:00:00 2001 From: Mergen Imeev Date: Thu, 21 Aug 2025 16:57:09 +0300 Subject: [PATCH 1/2] proto: remove support of `number` field type This patch removes support for the `number` field type. It also renames `number_value` to `double_value`, since that value is the value of a `double` field. Part of tarantool/aeon#472 --- aeon_schema.proto | 1 - aeon_value.proto | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/aeon_schema.proto b/aeon_schema.proto index 2640bbd..58e823d 100644 --- a/aeon_schema.proto +++ b/aeon_schema.proto @@ -43,7 +43,6 @@ enum FieldType { FIELD_TYPE_ANY = 1; FIELD_TYPE_UNSIGNED = 2; FIELD_TYPE_STRING = 3; - FIELD_TYPE_NUMBER = 4; FIELD_TYPE_DOUBLE = 5; FIELD_TYPE_INTEGER = 6; FIELD_TYPE_BOOLEAN = 7; diff --git a/aeon_value.proto b/aeon_value.proto index 958a2af..957879f 100644 --- a/aeon_value.proto +++ b/aeon_value.proto @@ -42,7 +42,7 @@ message Value { oneof kind { uint64 unsigned_value = 1; string string_value = 2; - double number_value = 3; + double double_value = 3; sint64 integer_value = 4; bool boolean_value = 5; bytes varbinary_value = 6; From 9b2a0d9e3d1eb06017b910cb64032211cc791f99 Mon Sep 17 00:00:00 2001 From: Mergen Imeev Date: Thu, 21 Aug 2025 17:01:45 +0300 Subject: [PATCH 2/2] proto: remove support for `unsigned` field type Part of tarantool/aeon#472 --- aeon_schema.proto | 1 - aeon_value.proto | 1 - 2 files changed, 2 deletions(-) diff --git a/aeon_schema.proto b/aeon_schema.proto index 58e823d..e14b188 100644 --- a/aeon_schema.proto +++ b/aeon_schema.proto @@ -41,7 +41,6 @@ enum Engine { enum FieldType { FIELD_TYPE_UNSPECIFIED = 0; FIELD_TYPE_ANY = 1; - FIELD_TYPE_UNSIGNED = 2; FIELD_TYPE_STRING = 3; FIELD_TYPE_DOUBLE = 5; FIELD_TYPE_INTEGER = 6; diff --git a/aeon_value.proto b/aeon_value.proto index 957879f..bde993a 100644 --- a/aeon_value.proto +++ b/aeon_value.proto @@ -40,7 +40,6 @@ message IntervalValue { // stored in the database. message Value { oneof kind { - uint64 unsigned_value = 1; string string_value = 2; double double_value = 3; sint64 integer_value = 4;