risingwave_frontend::handler::create_source

Function extract_json_table_schema

source
async fn extract_json_table_schema(
    schema_config: &Option<(AstString, bool)>,
    with_properties: &BTreeMap<String, String>,
    format_encode_options: &mut BTreeMap<String, String>,
) -> Result<Option<Vec<ColumnCatalog>>, RwError>
Expand description

Map a JSON schema to a relational schema