Interlace 2.0 Adopts sqlglot AST as Core IR, Drops Ibis Dependency
Interlace 2.0 has redesigned its intermediate representation (IR) around a sqlglot AST combined with an Arrow schema, replacing earlier approaches that relied on templated text or eager DataFrame execution. The decision also led to removing the Ibis library, which had served as both a data-movement layer and an expression builder — roles now covered directly by Arrow and sqlglot. With the AST as the canonical IR, query dependencies are automatically parsed from FROM and JOIN clauses rather than requiring explicit declarations like ref(), simplifying model authoring. Strategies that transform model queries into executable SQL now operate as AST builders, with dialect-specific transpilation deferred to the final step. The architecture also enables semantic change classification, allowing the system to determine whether a model edit genuinely affects downstream outputs on a per-column basis.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in