You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: deprecate TableSchema::new()/from_file_schema(); single builder + From
Consolidate `TableSchema` construction on `TableSchemaBuilder` plus the
idiomatic `From<SchemaRef>` conversion, giving a single way to do each thing:
- with partition columns: `TableSchema::builder(file_schema)
.with_table_partition_cols(cols).build()`
- without: `TableSchema::from(file_schema)` / `file_schema.into()`
`TableSchema::new`, `TableSchema::from_file_schema`, and the mutating
`TableSchema::with_table_partition_cols` setter are all deprecated. `new` and
`from_file_schema` can only ever express a subset of the eventual column groups
(partition, and later virtual), so the builder is the single complete path;
`from_file_schema` was also redundant with the `From<SchemaRef>` impl.
All in-tree callers are migrated accordingly. Documented in the 55.0.0
upgrade guide.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments