This issue is tracking the addition of a serialization layer that converts Arrow Schema to JSON for the catalog.
The types for doing so can reflect Arrow's Schema type and its descendants, but will implement serde's Serialize/Deserialize.
Although Arrow's types support serde's traits, the types themselves are not stable, so we are adding this layer to guard from potential breaking changes from the arrow ecosystem.
Part of the purpose of this effort is to remove the dependency on the core data_types::ColumnType to represent column types in our catalog, and rely more closely on Arrow's DataType.
This issue is tracking the addition of a serialization layer that converts Arrow Schema to JSON for the catalog.
The types for doing so can reflect Arrow's
Schema
type and its descendants, but will implement serde'sSerialize
/Deserialize
.Although Arrow's types support serde's traits, the types themselves are not stable, so we are adding this layer to guard from potential breaking changes from the arrow ecosystem.