connectorx::fed_rewriter

Function rewrite_sql

source
pub fn rewrite_sql(
    sql: &str,
    db_map: &HashMap<String, FederatedDataSourceInfo<'_>>,
    j4rs_base: Option<&str>,
    strategy: &str,
) -> Result<Vec<Plan>, ConnectorXOutError>