-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Standardize CompressionTypeVariant
encoding in protobuf
#8785
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.
@@ -212,7 +212,7 @@ message CreateExternalTableNode { | |||
bool if_not_exists = 7; | |||
string delimiter = 8; | |||
string definition = 9; | |||
string file_compression_type = 10; | |||
CompressionTypeVariant file_compression_type = 10; |
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.
I think we should avoid reusing tag numbers.
The reasons can be referenced here.
I prefer to make changes like the following.
reserved 10; // was string file_compression_type
CompressionTypeVariant file_compression_type = 17;
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.
I was not aware of this, thanks @jonahgao for the advice.
CompressionTypeVariant
encoding in protobuf
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.
I took the liberty if making @jonahgao 's suggestion to use reserved
as well as resolving the clippy error to get this PR's CI checks green
Thanks so much Andrew for the commits, I was supposed to submit the code yesterday. |
Which issue does this PR close?
Closes #8680.
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?