Status Update
Comments
pu...@google.com <pu...@google.com>
je...@google.com <je...@google.com> #2
Hello,
Thank you for reaching out to us with your request.
We have duly noted your feedback and will thoroughly validate it. While we cannot provide an estimated time of implementation or guarantee the fulfillment of the issue, please be assured that your input is highly valued. Your feedback enables us to enhance our products and services.
We appreciate your continued trust and support in improving our Google Cloud Platform products. In case you want to report a new issue, please do not hesitate to create a new issue on the
Once again, we sincerely appreciate your valuable feedback; Thank you for your understanding and collaboration.
je...@google.com <je...@google.com> #3
Hello,
Thank you for reaching out to us with your request.
We have duly noted your feedback and will thoroughly validate it. While we cannot provide an estimated time of implementation or guarantee the fulfillment of the issue, please be assured that your input is highly valued. Your feedback enables us to enhance our products and services.
We appreciate your continued trust and support in improving our Google Cloud Platform products. In case you want to report a new issue, please do not hesitate to create a new issue on the
Once again, we sincerely appreciate your valuable feedback; Thank you for your understanding and collaboration.
Description
Problem you have encountered:
I have a Pub/Sub topic that uses Protobuf as its schema. I cannot create new revision of schema with a value added to the enum in that field.
What you expected to happen:
We can add the value to enum.
Steps to reproduce:
Other information (workarounds you have tried, documentation consulted, etc):
In our system, we write data to BigQuery from subscriber.
Assuming that enum is equivalent to int32 in the binary representation of protobuf.https://protobuf.dev/programming-guides/encoding/#structure
Therefore, it is possible to publish the message with method as int32 and the value as 999999, and when we experimented with this, I observed that the default value of 0 is written to BigQuery (reasonable behaiviour).
The error message about incompatibility with older versions is correct, but I think not being able to add values to an enumerated type would be much less extensible.
I think falling back to default for unknown enum values in older versions is enough
We take the workaround of changing the
method
field to int32.