Skip to main content

build_prom_create_table_schema_from_proto

Function build_prom_create_table_schema_from_proto 

Source
pub fn build_prom_create_table_schema_from_proto(
    rows_schema: &[ColumnSchema],
) -> Result<Vec<ColumnSchema>>
Expand description

Build a Vec<ColumnSchema> suitable for creating a new Prometheus logical table directly from the proto rows.schema, avoiding the round-trip through Arrow schema.