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

Function _from

python/pathway/internals/sql/processing.py:294–302  ·  view source on GitHub ↗
(node: sql_expr.From, context: ContextType)

Source from the content-addressed store, hash-verified

292
293@register(nodetype=sql_expr.From)
294def _from(node: sql_expr.From, context: ContextType) -> tuple[table.Table, ContextType]:
295 tabs = []
296 for expression in node.expressions:
297 tab, context = _run(expression, context)
298 tabs.append(tab)
299 ret = tabs[0]
300 for tab in tabs[1:]:
301 ret = ret.join(tab)
302 return ret, context
303
304
305@register(nodetype=sql_expr.Subquery)

Callers 1

_selectFunction · 0.85

Calls 2

_runFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected