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

Function _run

python/pathway/internals/sql/processing.py:40–44  ·  view source on GitHub ↗
(node: sql_expr.Expression, context: ContextType)

Source from the content-addressed store, hash-verified

38
39
40def _run(node: sql_expr.Expression, context: ContextType) -> Any:
41 handler = _expression_handlers.get(type(node))
42 if handler is None:
43 raise NotImplementedError(f"{node.sql()} not supported.")
44 return handler(node, context)
45
46
47def register(nodetype):

Callers 15

sqlFunction · 0.90
_ifFunction · 0.70
_caseFunction · 0.70
_betweenFunction · 0.70
_maxFunction · 0.70
_minFunction · 0.70
_sumFunction · 0.70
_avgFunction · 0.70
_groupFunction · 0.70
_whereFunction · 0.70
_havingFunction · 0.70
_cteFunction · 0.70

Calls 2

handlerFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected