helix_ir.transform¶
helix_ir.transform — lazy transformation DSL.
- class helix_ir.transform.Table(source_name: str, schema: Schema | None = None)[source]¶
Bases:
objectA lazy relational table backed by a LogicalPlan.
Operations return new Table instances without executing queries. Call .to_sql() to compile or .to_arrow() to execute via DuckDB.
- helix_ir.transform.col(name: str, table: str | None = None) Column[source]¶
Create a Column reference.
- helix_ir.transform.count_distinct_(expr: Expression | str) FunctionExpr[source]¶
COUNT(DISTINCT …) aggregate.