risinglightdb / risinglight

An educational OLAP database system.
Apache License 2.0
1.59k stars 211 forks source link

refactor(type): move nullable out of `DataType` #836

Closed wangrunji0408 closed 6 months ago

wangrunji0408 commented 6 months ago

This PR moves nullable out of DataType and puts it into ColumnDesc. The original DataTypeKind is renamed to DataType.

This is to make it align with other projects like arrow-rs and RisingWave. Actually I'm planning to migrate the entire array module to arrow-rs, so that we can be more standard and have better interoperability with the community.