MCPcopy
hub / github.com/pathwaycom/pathway / _if

Function _if

python/pathway/internals/sql/processing.py:60–63  ·  view source on GitHub ↗
(
    node: sql_expr.If, context: ContextType
)

Source from the content-addressed store, hash-verified

58
59@register(nodetype=sql_expr.If)
60def _if(
61 node: sql_expr.If, context: ContextType
62) -> tuple[expr.ColumnExpression, expr.ColumnExpression]:
63 return _run(node.this, context), _run(node.args.pop("true"), context)
64
65
66@register(nodetype=sql_expr.Case)

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected