Skip to main content

build_inlined_sql

Function build_inlined_sql 

pub fn build_inlined_sql(
    opts: &Options,
    cm_src: &str,
    min_revs: u32,
    row_limit: i64,
) -> String
Expand description

Returns the SAME hotspots SQL with ? placeholders substituted for inline values — used by the Parquet writer, which routes through DuckDB COPY ... TO and can’t accept bind parameters. Sharing the formula with build_sql eliminates the silent-drift risk between the two paths.