-
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-51142][ML][CONNECT] ML protobufs clean up #49862
Conversation
TRANSFORMER = 2; | ||
EVALUATOR = 3; | ||
MODEL = 4; | ||
OPERATOR_TYPE_UNSPECIFIED = 0; |
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.
rename to follow the protobuf style guide
Prefix every value with the enum name (converted to UPPER_SNAKE_CASE)
cc @grundprinzip and @wbo4958 |
The failed protobuf breaking change test is expected, we will merge this also in 4.0 |
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.
Thanks for doing this before the release!!! Much appreciated!
43b4bcb
to
7feab04
Compare
I am going to merge this into 4.0, otherwise the protobuf compatibility between 4.0 and 4.1 will be broken |
### What changes were proposed in this pull request? ML protobufs clean up ### Why are the changes needed? to follow the guide https://github.com/apache/spark/blob/ece14704cc083f17689d2e0b9ab8e31cf71a7a2d/sql/connect/docs/adding-proto-messages.md ### 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 Closes #49862 from zhengruifeng/ml_connect_protos. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Ruifeng Zheng <ruifengz@apache.org> (cherry picked from commit 6a71f76) Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
merged to master/4.0 |
What changes were proposed in this pull request?
ML protobufs clean up
Why are the changes needed?
to follow the guide https://github.com/apache/spark/blob/ece14704cc083f17689d2e0b9ab8e31cf71a7a2d/sql/connect/docs/adding-proto-messages.md
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