Skip to main content

WithColumnsStage

Add or replace columns; unlisted columns pass through.

opOp (string)required
Constant value: with_columns
exprs object[]required
  • Array [
  • nameName (string)required

    Output column name

    exprExpr (string)required

    Polars-SQL expression, e.g. 'qty * unit_price'

  • ]
  • WithColumnsStage
    {
    "op": "with_columns",
    "exprs": [
    {
    "name": "string",
    "expr": "string"
    }
    ]
    }