Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spark] Type Widening preview #2937

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ object TableFeature {
InvariantsTableFeature,
ColumnMappingTableFeature,
TimestampNTZTableFeature,
TypeWideningTableFeature,
IcebergCompatV1TableFeature,
IcebergCompatV2TableFeature,
DeletionVectorsTableFeature,
Expand All @@ -358,8 +359,7 @@ object TableFeature {
// Identity columns are under development and only available in testing.
IdentityColumnsTableFeature,
// managed-commits are under development and only available in testing.
ManagedCommitTableFeature,
TypeWideningTableFeature)
ManagedCommitTableFeature)
}
val featureMap = features.map(f => f.name.toLowerCase(Locale.ROOT) -> f).toMap
require(features.size == featureMap.size, "Lowercase feature names must not duplicate.")
Expand Down Expand Up @@ -639,7 +639,7 @@ object ManagedCommitTableFeature
}
}

object TypeWideningTableFeature extends ReaderWriterFeature(name = "typeWidening-dev")
object TypeWideningTableFeature extends ReaderWriterFeature(name = "typeWidening-preview")
with FeatureAutomaticallyEnabledByMetadata
with RemovableFeature {
override def automaticallyUpdateProtocolOfExistingTables: Boolean = true
Expand Down
Loading