pub struct Column {
pub name: String,
pub type_text: String,
pub type_json: String,
pub position: Option<i32>,
pub type_name: ColumnTypeName,
pub comment: Option<String>,
pub nullable: Option<bool>,
pub partition_index: Option<i32>,
}Expand description
A Unity Catalog column, the portable shape exchanged with the backend port.
This is the subset of the UC Column message the managed-table contract
produces and consumes. The backend adapter maps between this and its own
column representation.
Fields§
§name: StringName of the column.
type_text: StringFull data type specification as SQL / catalog-string text.
type_json: StringFull data type specification, JSON-serialized (the original Delta type).
position: Option<i32>Ordinal position of the column (starting at 0).
type_name: ColumnTypeNameData type name.
comment: Option<String>User-provided free-form description.
nullable: Option<bool>Whether the field may be null.
partition_index: Option<i32>Partition index for the column, if it is a partition column.
Trait Implementations§
impl Eq for Column
impl StructuralPartialEq for Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more