-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-50531][SQL] Update StringType
proto to support constraints
#49130
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, could you just update the description to reflect why we are adding this, i.e. in order to be able to fully serialise Char/Varchar types through StringType.
Resolve conflicts
3ea0386
to
d63cfc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change itself seems fine cc @MaxGekk
@MJovan2002 could you please sync with master again, so we can merge this in. |
What changes were proposed in this pull request?
Adding support for
StringType
constraints to proto.Why are the changes needed?
This PR would allow us to fully serialize Char/Varchar types through StringType and is a part of the effort to improve char/varchar support.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.
Note for anyone using
dev/gen-protos.sh
Make sure you run
pip install -r dev/requirements.txt
before running this script. Also make sure to have python in yourPATH
.