MCPcopy Index your code
hub / github.com/pathwaycom/pathway / _between

Function _between

python/pathway/internals/sql/processing.py:89–93  ·  view source on GitHub ↗
(node: sql_expr.Between, context: ContextType)

Source from the content-addressed store, hash-verified

87
88@register(nodetype=sql_expr.Between)
89def _between(node: sql_expr.Between, context: ContextType) -> expr.ReducerExpression:
90 middle = _run(node.this, context)
91 low = _run(node.args.pop("low"), context)
92 high = _run(node.args.pop("high"), context)
93 return (middle >= low) & (middle <= high)
94
95
96@register(nodetype=sql_expr.Max)

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected