Open ethe opened 2 days ago
Column define as:
Column
pub struct Column { pub datatype: Datatype, pub value: Arc<dyn Any + Send + Sync>, pub is_nullable: bool, pub name: String, }
and ColumnDesc define as:
ColumnDesc
pub struct ColumnDesc { pub datatype: Datatype, pub is_nullable: bool, pub name: String, }
which is redundant
Define Column like:
pub struct Column { pub desc: ColumnDesc, pub value: Arc<dyn Any + Send + Sync>, }
should be great.
Make definition clearer
No
I think there might be a lot, I will add it in the future.
TON-94 refactor: define `record::runtime::Column` with `ColumnDesc`
What is the current?
Column
define as:and
ColumnDesc
define as:which is redundant
What will it become?
Define
Column
like:should be great.
What are the benefits?
Make definition clearer
Are there any alternatives?
No
Does it have a reference?
I think there might be a lot, I will add it in the future.