Extend TableSchema to ProtoSchema conversion to support nested records STRUCT and interval ranges RANGE. Currently, these return SchemaError::UnsupportedType.
- Recursively traverse nested
TableFieldSchema.fields and build sub-message DescriptorProto definitions.
- Generate hierarchical scope names (e.g.
root__parent_col__child_col) matching Go managedwriter/adapt.
- Cache and deduplicate identical child message schemas across different columns.
- Generate synthetic
start and end fields for RANGE corresponding to range_element_type (DATE, DATETIME, TIMESTAMP).
- Narrow / remove
SchemaError::UnsupportedType once we're done with nested types.
Extend
TableSchematoProtoSchemaconversion to support nested recordsSTRUCTand interval rangesRANGE. Currently, these returnSchemaError::UnsupportedType.TableFieldSchema.fieldsand build sub-messageDescriptorProtodefinitions.root__parent_col__child_col) matching Gomanagedwriter/adapt.startandendfields forRANGEcorresponding torange_element_type(DATE,DATETIME,TIMESTAMP).SchemaError::UnsupportedTypeonce we're done with nested types.