Skip to main content

rewrite_sql_with

Function rewrite_sql_with 

Source
pub fn rewrite_sql_with(sql: &str, ddx: &Ddx) -> Result<String>
Expand description

rewrite_sql driven by a caller-supplied engine.

GenericDialect is the parser DataFusion itself uses for SQL, and Ddx::for_datafusion supplies the matching identifier-folding policy (unquoted folds, quoted keeps case) — the two must agree or column matching silently diverges from the engine’s own.