tonbo-io / tonbo

A portable embedded database using Arrow.
https://tonbo.io
Apache License 2.0
797 stars 46 forks source link

Remove redundant information in `Column` #230

Open crwen opened 6 days ago

crwen commented 6 days ago

Column need a lot of information that can be found in ColumnDesc. Is there an elegant way to remove these fields?

pub struct Column {
    pub datatype: Datatype,
    pub value: Arc<dyn Any>,
    pub is_nullable: bool,
    pub name: String,
}

Here are some reasons that why we need these fields now:

linear[bot] commented 6 days ago

TON-92 Remove redundant information in `Column`