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
I searched in the issues and found nothing similar.
Motivation
After Spark3.3+, which support field with meatdata, currently paimon schema don't support the field metadata, So we need to support this.
And, after Spark3.4, Spark SQL Support FIELD DEFAULT VALUE, which is add field default value into field metadata. So If we wanna support SPARK DEFAULT VALUE, we need support metadata first.
Solution
When Create Spark Table, add the metadata configs into schema options field.
When Load Spark Table, add the metadata configs from options into StructType
Whe Alter Spark Table, should support AddColumn(contains defaultValue), UpdateColumnDefaultValue, DeleteColumn(delete metadata in options)
Anything else?
No response
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Motivation
After Spark3.3+, which support field with meatdata, currently paimon schema don't support the field metadata, So we need to support this.
And, after Spark3.4, Spark SQL Support FIELD DEFAULT VALUE, which is add field default value into field metadata. So If we wanna support SPARK DEFAULT VALUE, we need support metadata first.
Solution
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: