-
Notifications
You must be signed in to change notification settings - Fork 592
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
frontend node stackoverflow while resolving recursive type of protobuf #10443
Comments
message Struct {
// Unordered map of dynamically typed values.
map<string, Value> fields = 1;
}
// `Value` represents a dynamically typed value which can be either
// null, a number, a string, a boolean, a recursive struct value, or a
// list of values. A producer of value is expected to set one of these
// variants. Absence of any variant indicates an error.
//
// The JSON representation for `Value` is JSON value.
message Value {
// The kind of value.
oneof kind {
// Represents a null value.
NullValue null_value = 1;
// Represents a double value.
double number_value = 2;
// Represents a string value.
string string_value = 3;
// Represents a boolean value.
bool bool_value = 4;
// Represents a structured value.
Struct struct_value = 5;
// Represents a repeated `Value`.
ListValue list_value = 6;
}
}
Meanwhile, we should ban other recursive types. |
How long will it takes to fix this bug ? |
@cea5 I would not like to say that we will fix this as a bug, if you are indicating the support for protobuf's struct type. We may still experiment on it, but it'd be better if you can workaround and use other types, such as google.protobuf.Any or just encoding the struct as a json string. One possible means that we'll try is to convert the struct type to Postgres's JSONB, which basically shares the same semantic as Struct. |
close this one as handling recursive type is done. |
risingwave version: v0.19.0
docker logs:
when i create source from pulsar, the descripterset file(device_message.fds) is build from this proto file:
the create sql:
frontend-node-0 container crash every time i enter that create sql.
The text was updated successfully, but these errors were encountered: