Skip to content

Commit 8809fba

Browse files
committed
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
1 parent f805e6b commit 8809fba

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

aeon_schema.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ enum FieldType {
4343
FIELD_TYPE_ANY = 1;
4444
FIELD_TYPE_UNSIGNED = 2;
4545
FIELD_TYPE_STRING = 3;
46-
FIELD_TYPE_NUMBER = 4;
4746
FIELD_TYPE_DOUBLE = 5;
4847
FIELD_TYPE_INTEGER = 6;
4948
FIELD_TYPE_BOOLEAN = 7;

aeon_value.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ message Value {
4242
oneof kind {
4343
uint64 unsigned_value = 1;
4444
string string_value = 2;
45-
double number_value = 3;
45+
double double_value = 3;
4646
sint64 integer_value = 4;
4747
bool boolean_value = 5;
4848
bytes varbinary_value = 6;

0 commit comments

Comments
 (0)