Skip to main content

semantic_type_of

Function semantic_type_of 

Source
fn semantic_type_of(
    table_info: &TableInfo,
    column: &ColumnSchema,
) -> PgWireResult<SemanticType>
Expand description

Derives a column’s semantic type the same way the flow adapter does (flow::adapter::util::column_schemas_to_proto): the time-index flag for timestamps, primary-key membership for tags.