feat: add type extension for column (#122)

* feat: decimal128 proto

* chore: make all

* chore: empty line

* refactor: remove precision and scale

* chore: cr comment

Co-authored-by: Yingwen <realevenyag@gmail.com>

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
This commit is contained in:
Wei
2023-11-24 10:40:50 +08:00
committed by GitHub
parent 2ffdcae9f9
commit a11efce55d
20 changed files with 6320 additions and 494 deletions
+3
View File
@@ -31,6 +31,8 @@ message ColumnSchema {
string column_name = 1;
ColumnDataType datatype = 2;
SemanticType semantic_type = 3;
// Extension for ColumnDataType.
ColumnDataTypeExtension datatype_extension = 4;
}
message Row { repeated Value values = 1; }
@@ -71,5 +73,6 @@ message Value {
int64 duration_millisecond_value = 28;
int64 duration_microsecond_value = 29;
int64 duration_nanosecond_value = 30;
Decimal128 decimal128_value = 31;
}
}