(c *v1pb.ColumnCatalog)
| 330 | } |
| 331 | |
| 332 | func convertV1ColumnCatalog(c *v1pb.ColumnCatalog) *storepb.ColumnCatalog { |
| 333 | return &storepb.ColumnCatalog{ |
| 334 | Name: c.Name, |
| 335 | SemanticType: c.SemanticType, |
| 336 | Labels: c.Labels, |
| 337 | Classification: c.Classification, |
| 338 | ObjectSchema: convertV1ObjectSchema(c.GetObjectSchema()), |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | func convertV1ObjectSchema(objectSchema *v1pb.ObjectSchema) *storepb.ObjectSchema { |
| 343 | if objectSchema == nil { |
no test coverage detected