Support protobuf struct type
- Dominant language
- Assembly
- Stars
- 404
- Forks
- 145
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 87
Description
### Describe the enhancement requested
**current**
no support for protobuf struct type, due to recursion issue, Struct -> Value -> Struct -> Value ....
```
message Struct {
// Unordered map of dynamically typed values.
map fields = 1;
}
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;
}
}
```
**expected**
add support
suggest following pyspark impl: https://spark.apache.org/docs/latest/sql-data-sources-protobuf.html#handling-circular-references-protobuf-fields
### Component(s)
Other
Contributor guide
Assessment
This issue has not been assessed yet.