-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature Request] Column default values for Delta Lake #2238
Comments
I can't add comments to the doc. Could you please add an example of metadata in the Delta Log? |
@felipepessoto Thanks for joining the thread, I will add some examples. (The only way I was able to share the doc for now is by publishing it to the web as read-only, please feel free to make comments here.) I am preparing a protocol doc change as well as the first pull request :) I can add you to the reviewers if you prefer. |
Yeah, I added some comments to #2240 Thanks! |
This is done. |
Using create table statement to set default literal for columns along with not null and comment, I still get error. |
Feature request
Overview
This is a proposal to support column default values for Delta Lake tables.
Users should be able to associate default values with Delta Lake columns at table creation time or thereafter.
Motivation
Support for column defaults is a key requirement to facilitate updating the table schema over time and performing DML operations on wide tables with sparse data.
Further details
Please refer to an open design doc here.
This should integrate with Apache Spark's column default feature, and also represent the column metadata in a general way such that other Delta Lake clients can understand it.
For example:
Willingness to contribute
The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?
The text was updated successfully, but these errors were encountered: