pub enum TableFeature {
Show 32 variants
AppendOnly,
Invariants,
CheckConstraints,
ChangeDataFeed,
GeneratedColumns,
IdentityColumns,
InCommitTimestamp,
RowTracking,
DomainMetadata,
IcebergCompatV1,
IcebergCompatV2,
IcebergCompatV3,
ClusteredTable,
MaterializePartitionColumns,
AllowColumnDefaults,
CatalogManaged,
CatalogOwnedPreview,
ColumnMapping,
DeletionVectors,
TimestampNanos,
TimestampWithoutTimezone,
TypeWidening,
TypeWideningPreview,
V2Checkpoint,
VacuumProtocolCheck,
VariantType,
VariantTypePreview,
VariantShredding,
VariantShreddingPreview,
AdaptiveMetadataPreview,
GeospatialType,
Unknown(String),
}internal-api only.Expand description
Table features represent protocol capabilities required to correctly read or write a given table.
- Readers must implement all features required for correct table reads.
- Writers must implement all features required for correct table writes.
Each variant corresponds to one such feature. A feature is either:
- ReaderWriter (must be supported by both readers and writers), or
- WriterOnly (applies only to writers).
There are no ReaderOnly features. See
TableFeature::feature_typefor the category of each.
The kernel currently supports all reader features.
Variants§
AppendOnly
Append Only Tables
Invariants
Table invariants
CheckConstraints
Check constraints on columns
ChangeDataFeed
CDF on a table
GeneratedColumns
Columns with generated values
IdentityColumns
ID Columns
InCommitTimestamp
Monotonically increasing timestamps in the CommitInfo
RowTracking
Row tracking on tables
DomainMetadata
domain specific metadata
IcebergCompatV1
Iceberg V1 compatibility support
IcebergCompatV2
Iceberg V2 compatibility support
IcebergCompatV3
Iceberg V3 compatibility support
ClusteredTable
The Clustered Table feature facilitates the physical clustering of rows that share similar values on a predefined set of clustering columns.
MaterializePartitionColumns
Materialize partition columns in parquet data files.
AllowColumnDefaults
Column Default Values.
CatalogManaged
CatalogManaged tables: https://github.com/delta-io/delta/blob/master/protocol_rfcs/catalog-managed.md
CatalogOwnedPreview
ColumnMapping
Mapping of one column to another
DeletionVectors
Deletion vectors for merge, update, delete
TimestampNanos
nanosecond-timestamps only.Nanosecond resolution timestamps
TimestampWithoutTimezone
Timestamps without timezone support. The canonical protocol feature name is timestampNtz.
timestampWithoutTimezone is not a Delta protocol feature name, but some existing tables
carry it in their reader/writer feature arrays. Kernel accepts it on read for compatibility
with those tables and always writes the canonical timestampNtz. See
https://github.com/delta-io/delta-kernel-rs/issues/2557.
TypeWidening
TypeWideningPreview
V2Checkpoint
version 2 of checkpointing
VacuumProtocolCheck
vacuumProtocolCheck ReaderWriter feature ensures consistent application of reader and writer protocol checks during VACUUM operations
VariantType
This feature enables support for the variant data type, which stores semi-structured data.
VariantTypePreview
VariantShredding
VariantShreddingPreview
AdaptiveMetadataPreview
Iceberg V4 adaptive metadata tree as the table’s native content metadata format.
TODO(#2866): gated by the adaptive-metadata-in-dev cargo feature until fully supported.
GeospatialType
Geospatial type support (geometry and geography columns)
Unknown(String)
Trait Implementations§
Source§impl AsRef<str> for TableFeature
impl AsRef<str> for TableFeature
Source§impl Clone for TableFeature
impl Clone for TableFeature
Source§impl Debug for TableFeature
impl Debug for TableFeature
Source§impl<'de> Deserialize<'de> for TableFeature
impl<'de> Deserialize<'de> for TableFeature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for TableFeature
impl Display for TableFeature
impl Eq for TableFeature
Source§impl From<&TableFeature> for TableFeature
impl From<&TableFeature> for TableFeature
Source§fn from(value: &TableFeature) -> Self
fn from(value: &TableFeature) -> Self
Source§impl From<&str> for TableFeature
impl From<&str> for TableFeature
Source§fn from(s: &str) -> TableFeature
fn from(s: &str) -> TableFeature
Source§impl From<String> for TableFeature
impl From<String> for TableFeature
Source§impl From<TableFeature> for Scalar
impl From<TableFeature> for Scalar
Source§fn from(feature: TableFeature) -> Self
fn from(feature: TableFeature) -> Self
Source§impl FromStr for TableFeature
impl FromStr for TableFeature
Source§impl Hash for TableFeature
impl Hash for TableFeature
Source§impl IntoEnumIterator for TableFeature
impl IntoEnumIterator for TableFeature
type Iterator = TableFeatureIter
fn iter() -> TableFeatureIter ⓘ
Source§impl PartialEq for TableFeature
impl PartialEq for TableFeature
Source§impl Serialize for TableFeature
impl Serialize for TableFeature
impl StructuralPartialEq for TableFeature
Source§impl ToDataType for TableFeature
impl ToDataType for TableFeature
Source§fn to_data_type() -> DataType
fn to_data_type() -> DataType
internal-api only.Auto Trait Implementations§
impl Freeze for TableFeature
impl RefUnwindSafe for TableFeature
impl Send for TableFeature
impl Sync for TableFeature
impl Unpin for TableFeature
impl UnsafeUnpin for TableFeature
impl UnwindSafe for TableFeature
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FoldWithOption for T
impl<T> FoldWithOption for T
Source§impl<T> GetStructField for Twhere
T: ToDataType,
impl<T> GetStructField for Twhere
T: ToDataType,
Source§fn get_struct_field(name: impl Into<String>) -> StructField
fn get_struct_field(name: impl Into<String>) -> StructField
internal-api only.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.
Source§impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
impl<KernelType, ArrowType> TryIntoArrow<ArrowType> for KernelTypewhere
ArrowType: TryFromKernel<KernelType>,
Source§fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
fn try_into_arrow(self) -> Result<ArrowType, ArrowError>
arrow-conversion and (crate features arrow-conversion or declarative-plans or default-engine-base) only.Source§impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
impl<KernelType, ArrowType> TryIntoKernel<KernelType> for ArrowTypewhere
KernelType: TryFromArrow<ArrowType>,
Source§fn try_into_kernel(self) -> Result<KernelType, ArrowError>
fn try_into_kernel(self) -> Result<KernelType, ArrowError>
arrow-conversion and (crate features arrow-conversion or declarative-plans or default-engine-base) only.